Skip to content

Latest commit

 

History

History
60 lines (56 loc) · 1.79 KB

File metadata and controls

60 lines (56 loc) · 1.79 KB
title Document-View Creation | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
dev_langs
C++
helpviewer_keywords
documents, creating
views, and frame windows
views, creating
tables [C++]
MFC, views
document/view architecture, creating document/view
object creators
MFC, documents
tables [C++], objects each MFC object creates
ms.assetid bda14f41-ed50-439d-af9e-591174e7dd64
caps.latest.revision 9
author mikeblome
ms.author mblome
manager ghogen
translation.priority.ht
cs-cz
de-de
es-es
fr-fr
it-it
ja-jp
ko-kr
pl-pl
pt-br
ru-ru
tr-tr
zh-cn
zh-tw

Document/View Creation

The framework supplies implementations of the New and Open commands (among others) on the File menu. Creation of a new document and its associated view and frame window is a cooperative effort among the application object, a document template, the newly created document, and the newly created frame window. The following table summarizes which objects create what.

Object Creators

Creator Creates
Application object Document template
Document template Document
Document template Frame window
Frame window View

See Also

Document Templates and the Document/View Creation Process
Document Template Creation
Relationships Among MFC Objects
Creating New Documents, Windows, and Views