Forum
Please
Log In
to post a new message or reply to an existing one. If you are not registered, please
register.
NOTE: Some forums may be read-only if you are not currently subscribed to
our technical support services.
Subject |
Author |
Date |
|
Emmanuel V.
|
Dec 4, 2009 - 1:27 AM
|
I have a CExtSpinWnd associated to a CExtEdit control. <o:p></o:p>The CExtEdit control is associated to an integer : DDX_Text(pDX, IDC_NUMBER, m_nNumber); <o:p></o:p> When you increase the value using the CExtSpinWnd, it adds a space for the thousand separator character (French regional settings). <o:p></o:p> But the DDX can’t accept a value with a space. So it displays a message as “input an integer value”<o:p></o:p> How can I solve that ?<o:p></o:p> Thanks.
|
|
Technical Support
|
Dec 4, 2009 - 10:51 AM
|
We used the System Number and Currency Editors dialog page of the ProfUIS_Controls sample application for testing the reported issue:
http://www.prof-uis.com/download/forums/tmp/SpinTestingWithEditors000.png
We added the following properties into the CPageSystemNumberCurrencyEditors class:
INT m_nTestNumberWholeDigits, m_nTestNumberFractionDigits;
And we added the DDX entries for them: CPageSystemNumberCurrencyEditors::DoDataExchange() DDX_Text( pDX, IDC_EDIT_MAX_WHOLE_DIGITS, m_nTestNumberWholeDigits );
DDX_Text( pDX, IDC_EDIT_MAX_FRACTION_DIGITS, m_nTestNumberFractionDigits );
But the issue you reported didn’t appear. So, we need additional information and your help with reproducing it.
|
|