Group: Dialog Box - Library: user32
The SetDlgItemInt function sets the text of a control in a dialog box to the string representation of a specified integer value.
BOOL SetDlgItemInt(
HWND hDlg,
int nIDDlgItem,
UINT uValue,
BOOL bSigned
);
DECLARE INTEGER SetDlgItemInt IN user32;
INTEGER hDlg,;
INTEGER nIDDlgItem,;
INTEGER uValue,;
INTEGER bSigned
hDlg [in] Handle to the dialog box that contains the control.
nIDDlgItem [in] Specifies the control to be changed.
uValue [in] Specifies the integer value used to generate the item text.
bSigned [in] Specifies whether the uValue parameter is signed or unsigned.
If the function succeeds, the return value is nonzero.