CDocTemplate::CreateNewDocument

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

Syntax

virtual CDocument* CreateNewDocument( );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CDocTemplate Overview, CDocTemplate Member Functions, Application Architecture Classes, CDocTemplate::CreateNewFrame