Link to home
Start Free TrialLog in
Avatar of Further
Further

asked on

Get text from a CEdit window in another process?

Is there any way to get the text contained in a CEdit window belonging to another process, given its HWND?
ASKER CERTIFIED SOLUTION
Avatar of pkkn
pkkn

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of MichaelS
MichaelS

As I know you have to inject into target process, get the text and transfer it to yours. You can use hook for that. Let me know if you will go this way and need addition information.
Why would you ever want to do this?
Avatar of Further

ASKER

Thanks!  That's funny that WM_GETTEXT works but GetWindowText() doesn't :)

Yay for Microsoft