◄CWnd► ◄Up► ◄Contents► ◄Index► ◄Back► ──Microsoft Foundation Classes────────────────────────────────────────────── void SetDlgItemInt( int nID, UINT nValue, BOOL bSigned = TRUE ); Parameter Description <nID> Specifies the integer ID of the control to be modified. <nValue> Specifies the value to be set. <bSigned> Specifies whether or not the integer value is signed. Remarks Sets the text of a control to the string that represents the integer value given by <nValue>. The SetDlgItemInt member function converts <nValue> to a string that consists of decimal digits, and then copies the string to the control. If <bSigned> is TRUE, <nValue> is assumed to be signed. If <nValue> is signed and less than 0, the function places a minus sign before the first digit in the string. See Also ◄CWnd::GetDlgItemInt►, ◄::SetDlgItemInt►, ◄WM_SETTEXT► -♦-