Call this member function to set the caption or text of a control owned by a window or dialog box.
void SetDlgItemText( int nID, 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::GetDlgItemText