CWinApp::m_pActiveWnd
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.
Requirements
Header: afxwin.h