Call this member function to set 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.
void SetWindowText( LPCTSTR lpszString );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetWindowText