Professional UI Solutions
Site Map   /  Register
 
 

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.

Forums » Prof-UIS General Discussion » Color of pushed button on the Ribbon Bar / Page (UI) Collapse All
Subject Author Date
Attila Nagy Nov 12, 2008 - 5:40 AM

Is it possible to change the color (yellow-orange) of the pushed button on the Ribbon Bar/Page (UI)?!


I do not want the pushed button to appear yellow-orange, instead I want it whiter like glass or darker like gray or black.

Technical Support Nov 12, 2008 - 1:11 PM

The Office 2007 themes are based on skin bitmaps rather than on solid colors. So, it’s not possible to change a color of buttons by specifying some COLORREF value somewhere. The only way is to create your own paint manager class based on some of paint manager class and load your own bitmaps. The bitmaps are loaded in a constructor. So, your paint manager class will have all the bitmaps already loaded from default resources. You will need to re-load only button bitmaps from your resources. The CExtPaintManagerOffice2007_Impl::m_bmpArrButton*** properties contain button bitmaps used in the ribbon bar. You should reload these bitmaps.