The CSingleDocTemplate class defines a document template that implements the single document interface (SDI). An SDI application uses the main frame window to display a document; only one document can be open at a time.
A document template defines the relationship between three types of classes:
An SDI application typically supports one type of document, so it has only one CSingleDocTemplate object. Only one document can be open at a time.
You don’t need to call any member functions of CSingleDocTemplate except the constructor. The framework handles CSingleDocTemplate objects internally.
For more information on using CSingleDocTemplate, see Document Templates and the Document/View Creation Process in Visual C++ Programmer’s Guide.
Class Members | Base Class | Hierarchy Chart
Sample MFC Sample DOCKTOOL
See Also CDocTemplate, CDocument, CFrameWnd, CMultiDocTemplate, CView, CWinApp