PyCWnd.GetDlgItemInt

int = GetDlgItemInt(idControl, bUnsigned )

Returns the integer value of a child window or control with the specified ID.

Parameters

idControl : int

The Id of the control to be retrieved.

bUnsigned=1 : int

Should the function check for a minus sign

MFC References

CWnd::GetDlgItemInt

Return Value

If the value can not be converted, a ValueError is raised.