CDocTemplate::CreateNewDocument
Call this member function to create a new document of the type associated with this document template.
virtual CDocument* CreateNewDocument( );
Возвращаемое значение
A pointer to the newly created document, or NULL if an error occurs.
Требования
Header: afxwin.h