CWindow::SetWindowText
cambia el texto de la ventana.
BOOL SetWindowText(
LPCTSTR lpszString
) throw();
Comentarios
Vea SetWindowText en Windows SDK.
Ejemplo
//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"));
Requisitos
encabezado: atlwin.h