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 |
|
Courtney Smith
|
May 19, 2008 - 3:48 PM
|
Hello, I have an edit box that is numbers only and when the user enters something like a letter. It shows the stadard message unacceptable character. The problem is when it shows the box even though its not over the CExtGroupBox that surrounds the edit control, it messes up the painting of the label on the group box. Have you guys seen this or know how to fix it? Thanks, CJ
|
|
Technical Support
|
May 20, 2008 - 12:20 PM
|
We need your help in order to reproduce this problem. We created the following simplest possible application but it works OK.
The single line control in it uses the following DDX entries for number validation: DDX_Control(pDX, IDC_EDIT1, m_wndEdit1);
DDX_Text(pDX, IDC_EDIT1, m_nEditValueAsLong);
DDV_MinMaxLong(pDX, m_nEditValueAsLong, 0, 100); All the other dialog controls are subclassed automatically.
|
|