Export (0) Print
Expand All

SetDlgItemInt

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This 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
); 

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, assumed to be signed, that is used to generate the item text.

bSigned

[in] Ignored; set to zero

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

To set the new text, this function sends a WM_SETTEXT message to the specified control.

Headerwinuser.h
LibraryDlgmgr.lib
Windows Embedded CEWindows CE 1.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

ADD
Show:
© 2014 Microsoft