Hi,
You can use the FindWindow API call to return a handle to a specific window.
Alternatively, you can use EnumWindows to return all top level windows that
are currently operational (and filter out the ones that you are interested
in).
Once you have a window handle you can use the SendMessage API call with the
WM_GETTEXT message to retrieve information from that window.
Alternatively, you can use the GetWindowText API call to retrieve text from
a window (as before you will first need to determine the window handle for
the window you are interested in).
All of the calls reside in user32.dll so you will have to import them first.
Hope this helps, I could write some sample code for you if you need any
further help.
regards wibberlet
Got an opinion? Join the debate :-)
http://wibberlet.blogspot.com
===============================================
=
"ltt19" wrote:
> Hi everyone,
>
> I need to get some information displayed by other software, like getting the
> text of a notepad window, the displayed page in IE, and so on. How i Am
> supposed to do that?
> Messaging? Reflection?
>
> Any help will be appreciated.
> Thanks in advance,
> ltt19