CSingleDocTemplate::CSingleDocTemplate

Call this member function to construct a CSingleDocTemplate object. You dynamically allocate a CSingleDocTemplate object, and pass it to CWinApp::AddDocTemplate from within the CWinApp::InitInstance member function of your application class.

Syntax

CSingleDocTemplate( UINT nIDResource, CRuntimeClass* pDocClass, CRuntimeClass* pFrameClass, CRuntimeClass* pViewClass );

At a Glance

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

See Also

CSingleDocTemplate Overview, CSingleDocTemplate Class Members, Application Architecture Classes, CDocTemplate::GetDocString, CWinApp::AddDocTemplate, CWinApp::InitInstance, CRuntimeClass