CDocTemplate::CreateNewDocument
Call this member function to create a new document of the type associated with this document template.
virtual CDocument* CreateNewDocument( );
Return Value
A pointer to the newly created document, or NULL if an error occurs.
Requirements
Header: afxwin.h