CWnd::GetDlgItemInt

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.

Syntax

UINT GetDlgItemInt( int nID, BOOL* lpTrans = NULL, BOOL bSigned = TRUE ) const;

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

Remarks

In Windows CE, the CDialog::GetDlgItemInt member function can only translate text strings with 48 characters or fewer.

See Also

CWnd Overview, CWnd Member Functions, Window Class Categories, CWnd::GetDlgItemText