Hemang
Wed Jan 26 07:22:09 CST 2005
How can we get the window handle of any window ? Is there a way to find out?
Will that application always use that handle on every computer ?
What if that application is MDI ? can we access the sub windows in that
application as well ?
"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at> wrote in message
news:e1ZYSk4AFHA.2540@TK2MSFTNGP09.phx.gbl...
> "NightHog" <NightHog@msn.com> schrieb:
>>> Is the messagebox shown by another program?
>>
>> yes.
>
> If you have the messagebox's window handle, you can get the text by
> p/invoking 'GetWindowText'.
>
> --
> M S Herfried K. Wagner
> M V P <URL:
http://dotnet.mvps.org/>
> V B <URL:
http://dotnet.mvps.org/dotnet/faqs/>