Introduction - If you have any usage issues, please Google them yourself
Access to another application window, the text, if you use the C programming, natural to use HWND instead of CWnd. Some people will surely ask: Hey, wait a minute- if you can, if you do, why GetWindowText does not work it? GetWindowText sent WM_GETTEXT not that it? Wrong also, GetWindowText only when the window is the current process to send WM_GETTEXT, otherwise it do other things. This is clearly stated in the document: