CWnd::SetDlgItemInt
Visual Studio 2010
Sets the text of a given control in a dialog box to the string representation of a specified integer value.
void SetDlgItemInt( int nID, UINT nValue, BOOL bSigned = TRUE );
SetDlgItemInt sends a WM_SETTEXT message to the given control.
See the example for CWnd::SetDlgItemText.