CWnd::SetDlgItemText

Call this member function to set the caption or text of a control owned by a window or dialog box.

Syntax

void SetDlgItemText( int nID, LPCTSTR lpszString );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetDlgItemText