PDA

View Full Version : 256 color bitmap disabled toolbutton appearance



RichBrown
07-09-2010, 04:57 AM
Hi,

I have an app that uses the SECToolBarManager class to create toolbars derived from SECCustomToolBar. The images used for these are 256 colour bitmap resources.

I have noticed that when using the XP theme, disabled buttons have a "washed out" colour look which is great, whereas when using the classic windows scheme the disabled buttons have a block dark grey colour which makes it very hard to distinguish what the buttons are.

This also affects the images used on disabled menu items (I am using the EnableBmpMenus() function).

Is there a way to get the "washed out" colour look regardless of what theme is being used?

Many thanks.