CCreateContext

This structure is used by the framework when it creates the frame windows and views associated with a document.

At a Glance

Header file: Afxext.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

struct CCreateContext
{
CRuntimeClass* m_pNewViewClass;
CDocument* m_pCurrentDoc;
CDocTemplate* m_pNewDocTemplate;
CView* m_pLastView;
CFrameWnd* m_pCurrentFrame;
CCreateContext();
};

See Also

CFrameWnd::Create, CFrameWnd::LoadFrame, CFrameWnd::OnCreateClient, CSplitterWnd::Create, CSplitterWnd::CreateView, CWnd::Create