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 |
|
Stephan Wieland
|
Feb 15, 2010 - 1:32 PM
|
Hello, how can I change the orange color of all buttons and menus when pressed or hovered using 2010 themes? Best regards SW
|
|
Technical Support
|
Feb 15, 2010 - 2:11 PM
|
These buttons are bitmap based. You can create your paint manager class and modify/reload appropriate Office 2010 theme resources. You can simply load your custom images or colorize loaded by default images using the CExtBitmap class methods. The ..\Prof-UIS\Include\Resources\Res2010office folder contains images uses by Office 2010 paint managers. The file names are the same as resource defines. The following bitmaps are loaded in the paint manager’s constructor:
CExtBitmapCache
m_arrBmpPushBtnSimpleH, m_arrBmpPushBtnSimpleV,
m_arrBmpPushBtnSDDLeftH, m_arrBmpPushBtnSDDLeftV,
m_arrBmpPushBtnSDDRightH, m_arrBmpPushBtnSDDRightV;
First two bitmaps are horizontal and vertical images of simple push button. Second two are left parts of split buttons. Last two are right/drop-down parts of split buttons. P.S. We are working on the resizable control bar layout issue you reported. The main problem is that it’s very hard to reproduce it. It definitively occurs very occasionally.
|
|