Partager via


CDocTemplate::SetDefaultTitle

Call this function to load the document's default title and display it in the document's title bar.

virtual void SetDefaultTitle(
   CDocument* pDocument 
) = 0;

Parameters

  • pDocument
    Pointer to the document whose title is to be set.

Remarks

For information on the default title, see the description of CDocTemplate::docName in CDocTemplate::GetDocString.

Requirements

Header: afxwin.h

See Also

Concepts

CDocTemplate Class

CDocTemplate Members

Hierarchy Chart

CDocTemplate::GetDocString