HWND
AfxGetApp()->m_pMainWnd
error C2440: '=' : cannot convert from 'class CWnd *' to 'struct HWND__ *'.
CWnd
*AfxGetMainWnd()
::SetWindowText(*AfxGetMainWnd(), _T("Hi Folks"));
CWnd*
m_hWnd
AfxGetApp()->m_pMainWnd->m_hWnd
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)