This data member contains a pointer to a CWnd object. Use this data member to store a pointer to your thread's active window object.
CWnd* m_pActiveWnd;
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CWinThread Overview, CWinThread Data Members, Application Architecture Classes, CWinThread::InitInstance, CWinThread::m_pMainWnd, CWnd