CWnd::SetWindowText

void SetWindowText( LPCTSTR lpszString );

Parameters

lpszString

Points to a CString object or null-terminated string to be used as the new title or control text.

Remarks

Sets the window’s title to the specified text. If the window is a control, the text within the control is set.

This function causes a WM_SETTEXT message to be sent to this window.

CWnd OverviewClass MembersHierarchy Chart

See Also   CWnd::GetWindowText, ::SetWindowText