Partager via


CDocument::SetTitle

Call this function to specify the document's title (the string displayed in the title bar of a frame window).

virtual void SetTitle(
   LPCTSTR lpszTitle 
);

Parameters

  • lpszTitle
    Points to the string to be used as the document's title.

Remarks

Calling this function updates the titles of all frame windows that display the document.

Requirements

Header: afxwin.h

See Also

Reference

CDocument Class

Hierarchy Chart

CDocument::GetTitle

Other Resources

CDocument Members