Share via


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.

Remarks

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

See Also

Reference

CWinApp Class

Hierarchy Chart

AfxGetMainWnd

CWinThread::m_pMainWnd

Other Resources

CWinApp Members