Group: Dialog Box - Library: user32
BOOL SetDlgItemText(
HWND hDlg,
int nIDDlgItem,
LPCTSTR lpString
);
DECLARE INTEGER SetDlgItemText IN user32;
INTEGER hDlg,;
INTEGER nIDDlgItem,;
STRING lpString
hDlg [in] Handle to the dialog box that contains the control.
nIDDlgItem [in] Specifies the control with a title or text to be set.
lpString [in] Pointer to the null-terminated string that contains the text to be copied to the control.
If the function succeeds, the return value is nonzero.