Skip to content

Latest commit

 

History

History
37 lines (31 loc) · 1.5 KB

document-template-classes.md

File metadata and controls

37 lines (31 loc) · 1.5 KB
title ms.custom ms.date ms.reviewer ms.suite ms.technology ms.tgt_pltfrm ms.topic f1_keywords dev_langs helpviewer_keywords ms.assetid caps.latest.revision author ms.author manager
Document-Template Classes | Microsoft Docs
11/04/2016
cpp-windows
article
vc.classes.document
C++
document templates [MFC], classes
901749e9-8048-44a0-b5e2-361554650a73
9
mikeblome
mblome
ghogen

Document-Template Classes

Document-template objects coordinate the creation of document, view, and frame window objects when a new document or view is created.

CDocTemplate
The base class for document templates. You will never use this class directly; instead, you use one of the other document-template classes derived from this class.

CMultiDocTemplate
A template for documents in the multiple document interface (MDI). MDI applications can have multiple documents open at a time.

CSingleDocTemplate
A template for documents in the single document interface (SDI). SDI applications have only one document open at a time.

Related Class

CCreateContext
A structure passed by a document template to window-creation functions to coordinate the creation of document, view, and frame-window objects.

See Also

Class Overview