Call this member function to retrieve the text of the control identified by the nID parameter. This function translates the text into an integer value by stripping any extra spaces at the beginning of the text and converting decimal digits.
UINT GetDlgItemInt( int nID, BOOL* lpTrans = NULL, BOOL bSigned = TRUE ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
In Windows CE, the CDialog::GetDlgItemInt member function can only translate text strings with 48 characters or fewer.
CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetDlgItemText