
capturing the text in another program's window
When you say " another program's windows text", are you talking
about the window title/caption? Or something else, like the
contents of a control?
The API function GetWindowText() should do the job for the first
and generally the second case. You also need a FindWindow() or
a modified FindWindow() to find the handle of the target window.
A great way to get the specifics is to get Daniel Appleman's
Windows API book from any large bookstore. Ho
Quote:
> Anyone know how to read another program's windows text and capture the
> text to a file. I would not want the user to have to place the text in the
> clip board with the file , copy method.
> thanks