共用方式為


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

Reference

CDocument Class

Hierarchy Chart

CDocument::OnNewDocument

CDocument::OnOpenDocument

Other Resources

CDocument Members