Click to See Complete Forum and Search --> : How to get text of the Visual C++ Studio Edit of another app??
kykim
October 1st, 1999, 06:05 AM
How to get text of the Visual C++ Studio Edit of another app??
Do you know what kind of visual C++ Edit Class used it ?
(c.f : i catch class name that window class (Afx:400000:8) --> what's mean?
please ...
Faheem Javed
October 1st, 1999, 06:55 AM
What i understand from your question is that u want to retrieve the text of an Edit Box present in another application.
To do it u have to know the Class name of the Control before hand.Use SPY++ for easily finding it.Then use the ::FindWindow() function and provide it the Class Name.
::FindWindow would return the CWnd* which u need to type cast to CEdit*.
U can even use the CWnd::GetWindowText() function to retrieve the text of any control.
kykim
October 2nd, 1999, 02:29 AM
I want to a word in Visual C++ which mouse pointed it!
...please if you can solve it,send me code source
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.