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 |
|
Wang Yang
|
Nov 4, 2004 - 7:47 PM
|
Hi, I’ve found that when I use readonly-edit controls on a dialog(derived from CExtResizableDialog) with 2000, XP or 2003 style (2005 style maybe has not this phenomenon), the readonly-edit controls’ background color is same as that of the dialog, leading to the invisibility of the readonly-edit controls. Is this a bug? What can I do to avoid the invisibility of the readonly-edit controls, such as changing the edit’s background color? I’m looking forward to your response. Thanks a lot! Wang Yang, Beijing, China
|
|
Technical Support
|
Nov 5, 2004 - 8:13 AM
|
The ordinary MFC read-only edit control and dialog have the same background color. The Prof-UIS CExtEdit control draws its border only when the mouse pointer is over the control or when the control is focused.
We can offer you the CExtFlatEdit class, which provides the edit control with a thin border drawn with the current color of the paint manager. You can find how to use this class in the ProfUIS-Controls sample.
|
|