The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
A version of this page is also available for
This function sets the title or text of a control in a dialog box.
[in] Handle to the dialog box that contains the control.
[in] Identifies the control with a title or text that is to be set.
[in] Long pointer to the null-terminated string that contains the text to be copied to the control.
Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.
The SetDlgItemText function sends a WM_SETTEXT message to the specified control.
|Windows Embedded CE||Windows CE 1.0 and later|
|Windows Mobile||Windows Mobile Version 5.0 and later|