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 |
|
Suhai Gyorgy
|
Oct 19, 2005 - 2:43 PM
|
In the Prof-UIS-Controls sample the Dialog inserted into CExtTabPageContainerWnd has the same background-color as a usual dialog. I’d like to find out how to make it a light-colored dialog, just as a CPropertyPage in a CPropertySheet (there the propertypage has the same color as the selected tab) Thank you: Chris.
|
|
Technical Support
|
Oct 20, 2005 - 7:53 AM
|
The CExtResizableDialog ’s background is painted in a way that it is consistent with the theme provided by the currently selected paint manager. If you don’t need this feature, just use the CDialog class instead of CExtResizableDialog .
|
|
Suhai Gyorgy
|
Oct 20, 2005 - 11:34 AM
|
You’ve also inserted normal CDialog in your Prof-UIS Control sample, but it’s still not the right color (too dark gray). Isn’t there a way to use different color on CDialog? Thank you: Chris.
|
|
Technical Support
|
Oct 21, 2005 - 8:24 AM
|
To use another color for the dialog background, just handle the WM_CTLCOLOR message. This is described in MSDN.
|
|