CWinThread::m_pMainWnd

This data member contains a pointer to a CWnd object. Use this data member to store a pointer to your thread’s main window object.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

CWnd* m_pMainWnd;

See Also

CWinThread::InitInstance, CWnd