CDocTemplate::CreateNewFrame

This method 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.

At a Glance

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

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

See Also

CCreateContext, CFrameWnd::LoadFrame, CDocTemplate::InitialUpdateFrame