共用方式為


CDocument::GetTitle

Call this function to get the document's title, which is usually derived from the document's filename.

const CString& GetTitle( ) const;

Return Value

The document's title.

Requirements

Header: afxwin.h

See Also

Reference

CDocument Class

Hierarchy Chart

CDocument::SetTitle

Other Resources

CDocument Members