GetDlgItemInt fail when user enter more than 10 digits.
Posted on 2006-11-16
I'm using vs2005 but only win32 libraries.
I have a IEdBoxEditor control. If I enter more than 10 digits of interger number then my code below would fail to get the data. success is return as 0. How can correct this problem so there is no limit to the digits entered? Thanks.
intRet = (int)GetDlgItemInt(hwndDialog,IDC_INDEPENDENT_ENTRY_ID,&success, TRUE);