共用方式為


CFrameWnd::SetTitle

Sets the title of the window object.

void SetTitle(
   LPCTSTR lpszTitle
);

Parameters

  • lpszTitle
    A pointer to a character string containing the title of the window object.

Requirements

Header: afxwin.h

See Also

Concepts

CFrameWnd Class

CFrameWnd Members

Hierarchy Chart

CFrameWnd::GetTitle