Can I get other process UI data like edit box string or combo box index ?
And is it possible to get other app client screen pixels data ?
Thank you .
You can use WM_PRINT and WM_PRINTCLIENT messages for that. Read
abouth these messages in MSDN. Also, this article may be helpful:
"Window Contents Capturing using WM_PRINT Message"
http://www.fengyuan.com/article/wmprint.html
HTH
Alex
Just send a WM_GETTEXT message to the edit box, and you will get its string.
For the comobox index, you can send a WM_COMMAND message with a CB_* wParam,
I think.
For other messages that don't marshal string data across process boundaries
(so you can't SendMessage and get a result without crashing), you can use my
SendMessageRemote() function, as Joe says. It is discussed at
http://groups.google.com/group/microsoft.public.vc.mfc/browse_thread/thread/40c00794fa444323/291326274362ef36?lnk=st&q=sendmessageremote#291326274362ef36
-- David