The framework uses the CCreateContext structure when it creates the frame windows and views associated with a document.
struct CCreateContext
{
CRuntimeClass* m_pNewViewClass;
CDocument* m_pCurrentDoc;
CDocTemplate* m_pNewDocTemplate;
CView* m_pLastView;
CFrameWnd* m_pCurrentFrame;
CCreateContext();
};
Header file: | Afxext.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
Structures CFrameWnd::Create, CFrameWnd::LoadFrame, CFrameWnd::OnCreateClient, CSplitterWnd::Create, CSplitterWnd::CreateView, CWnd::Create