CSingleDocTemplate* pDocTemplate; pDocTemplate = new CSingleDocTemplate( IDR_MAINFRAME, RUNTIME_CLASS(CMyAppDoc), RUNTIME_CLASS(CMyMainFrame), // main SDI frame window RUNTIME_CLASS(CMyAppView)); if (!pDocTemplate) return FALSE; AddDocTemplate(pDocTemplate); if (!ProcessShellCommand(cmdInfo)) return FALSE;
InitInstance()
CMyAppDoc
CMultiDocTemplate
OnNewDocument()
OnOpenDocument()
CreateNewFrame()
InitialUpdateFrame()
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)