Skip to content

Latest commit

 

History

History
54 lines (38 loc) · 1.01 KB

SetDlgItemInt.md

File metadata and controls

54 lines (38 loc) · 1.01 KB

Home

Function name : SetDlgItemInt

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.


Declaration:

BOOL SetDlgItemInt(
	HWND hDlg,
	int nIDDlgItem,
	UINT uValue,
	BOOL bSigned
);  

FoxPro declaration:

DECLARE INTEGER SetDlgItemInt IN user32;
	INTEGER hDlg,;
	INTEGER nIDDlgItem,;
	INTEGER uValue,;
	INTEGER bSigned
  

Parameters:

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.


Return value:

If the function succeeds, the return value is nonzero.