This topic has not yet been rated - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.