This is extremely important and I cannot figure out how to do it.
I located a child window of class "Edit" by using the following code:
HWND hWnd = FindWindowEx(parentWnd, NULL, "Edit", NULL);
CWnd *editWnd = FromHandle(hWnd);
Now I have a CWnd object containing a pointer to that Edit window.
Now I need to get the text from that Edit window - not the caption (which always remains " " regardless of what it says - there is no title bar). Somehow I have to read that text into a CString without having a pointer to a CEdit (unless I can get one somehow?) This is very very important. Please help as much as you can.
Thank you SO much in advance.