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 |
|
Mohamed Elmalt
|
Nov 14, 2005 - 4:05 PM
|
Hi, I am trying to retrieve (dynamically) the color used for hover when the mouse moves on a menu item or a CExtButton button. The hover colors change when the window themes change and I need to retrieve this hover color to make the selected list view item selected with the same color Best regards, sabonzo
|
|
Technical Support
|
Nov 17, 2005 - 4:17 AM
|
The push button is painted in the CExtPaintManager::PaintPushButton() method and the menu item in CExtPaintManager::PaintMenuItem() . You can take a look at these methods and its overridables for other paint managers to find the corresponding colors. These colors are different for the normal, pressed, hovered, hovered pressed and disabled states. Moreover the hover and pressed modes use two colors for painting the button gradient in the Office2003 theme. What color you exactly need?
|
|