Hi there,
Let's say, I want to retrieve the text from a specific Edit Control on another running application.
Could you please explain to me, how I can do this?
Hi there,
Let's say, I want to retrieve the text from a specific Edit Control on another running application.
Could you please explain to me, how I can do this?
Which technique would you like?
Easiest would be FindWindow() / SendMessage()
Hardest would be code injected into target process and ReadProcessMemory()
All functions documented on MSDN (msdn.microsoft.com).
Right now i'm not interested to know much details,I just want to get my job done.
Therefore I would prefer the easy way,if possible.
Thank you very much.
Thank you for the previous reply.
I understand how to use the SendMessage() to retrieve the text.
The problem is with the FindWindow().
Let's say that the other application is Test.exe
I can get the window handler, of the application by using FindWindow(NULL,"Test").
But If I use SendMessage with this handler, I only get the text "Test", which is the title of the window.
I don't need this.
How can I find the handler for a specific Edit Control,which is inside of Test.exe?
What data do I need to know to identify it?
Last edited by chrischar; 08-10-2003 at 06:00 AM.