CWindow::SetWindowText
Modifie le texte de la fenêtre.
BOOL SetWindowText(
LPCTSTR lpszString
) throw();
Notes
Consultez SetWindowText dans Kit de développement logiciel Windows.
Exemple
//The following example attaches an HWND to the CWindow object and
//calls CWindow::SetWindowText() to set the new title-text of the
//window
CWindow myWindow;
myWindow.Attach(hWnd);
myWindow.SetWindowText(_T("Hello ATL"));
Configuration requise
Header: atlwin.h