CDocTemplate::CreateNewDocument

virtual CDocument* CreateNewDocument( );

Return Value

A pointer to the newly created document, or NULL if an error occurs.

Remarks

Call this member function to create a new document of the type associated with this document template.

CDocTemplate OverviewClass MembersHierarchy Chart

See Also   CDocTemplate::CreateNewFrame