CDocument::SetTitle
Visual Studio 2010
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 );
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 );