windows_programming_notes.nbk: Home | Index | Next Page: SetDlgItemText | Previous Page: SetDCPenColor
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 );
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error information, call GetLastError.
To set the new text, this function sends a WM_SETTEXT message to the specified control.
windows_programming_notes.nbk: Home | Index | Next Page: SetDlgItemText | Previous Page: SetDCPenColor
Notebook exported on Monday, 7 July 2008, 18:56:50 PM Eastern Daylight Time