다음을 통해 공유


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

Concepts

CDocument Class

CDocument Members

Hierarchy Chart

CDocument::GetTitle