Поделиться через


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 
);

Параметры

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

Заметки

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

Требования

Header: afxwin.h

См. также

Основные понятия

CDocument Class

CDocument Members

Hierarchy Chart

CDocument::GetTitle