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.
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 |
virtual CFrameWnd* CreateNewFrame( CDocument* pDoc, CFrameWnd* pOther );
CCreateContext, CFrameWnd::LoadFrame, CDocTemplate::InitialUpdateFrame