CDocTemplate::CreateNewFrame

CreateNewFrame uses the CRuntimeClass objects passed to the constructor to create a new frame window with a view and document attached. If the pDoc parameter is NULL, the framework outputs a TRACE message.

Syntax

virtual CFrameWnd* CreateNewFrame( CDocument* pDoc, CFrameWnd* pOther );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDocTemplate Overview, CDocTemplate Member Functions, Application Architecture Classes, CCreateContext, CFrameWnd::LoadFrame, CDocTemplate::InitialUpdateFrame