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.
virtual CFrameWnd* CreateNewFrame( CDocument* pDoc, CFrameWnd* pOther );
| Header File | Afxwin.h |
| Platforms | |
| Versions | 1.0 and later |
| Complete documentation | Visual C++ documentation |
CDocTemplate Overview, CDocTemplate Member Functions, Application Architecture Classes, CCreateContext, CFrameWnd::LoadFrame, CDocTemplate::InitialUpdateFrame