CWinApp::m_pActiveWnd
Remarks
Use this data member to store a pointer to the main window of the OLE container application that has your OLE server application in-place activated. If this data member is NULL, the application is not in-place active.
The framework sets this member variable when the frame window is in-place activated by an OLE container application.
CWinApp Overview | Class Members | Hierarchy Chart
See Also AfxGetMainWnd, CWinThread::m_pMainWnd