다음을 통해 공유


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

See Also

Concepts

CDocTemplate Class

CDocTemplate Members

Hierarchy Chart

CDocTemplate::CreateNewFrame