SetDlgItemInt (Windows CE 5.0)

Send Feedback

This function sets the text of a control in a dialog box to the string representation of a specified integer value.

BOOLSetDlgItemInt( HWNDhDlg, intnIDDlgItem, UINTuValue, BOOLbSigned);

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, assumed to be signed, that is used to generate the item text.
  • bSigned
    [in] Ignored; set to zero

Return Values

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

Remarks

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

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.
Link Library: Dlgmgr.lib.

See Also

GetDlgItemInt | SetDlgItemText | WM_SETTEXT | Dialog Boxes Functions

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.