共用方式為


CDocument::CDocument

Constructs a CDocument object.

CDocument( );

Remarks

The framework handles document creation for you. Override the OnNewDocument member function to perform initialization on a per-document basis; this is particularly important in single document interface (SDI) applications.

Requirements

Header: afxwin.h

See Also

Concepts

CDocument Class

CDocument Members

Hierarchy Chart

CDocument::OnNewDocument

CDocument::OnOpenDocument