![]() |
Disabled/Grayed Command Bar buttons |
Post Reply ![]() |
Author | |
Pokemon ![]() Newbie ![]() Joined: 11 June 2005 Status: Offline Points: 1 |
![]() ![]() ![]() ![]() ![]() Posted: 11 June 2005 at 7:22pm |
I am using 24bits bitmap for my CommandBar buttons. When a button is disabled, CommandBar shows a dark gray box with little detail. Can a disabled button look more like a disabled button in Office 2003. For testing purposes, I tried using the printer bitmap in Office 2003, and it does not grayed correctly. Can I use 2 bitmaps for a toolbar button? One for Enabled and the other for disabled. Thank you for your help!
|
|
![]() |
|
Oleg ![]() Senior Member ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
1. You can set option pCommandBar->GetPaintManager()->GetIconsInfo()->bUs eDisabledIcons = TRUE; it will generate disabled icons 2. You can create disabled bitmap manually and set it pCommandBar->GetImageManager()->SetIcons(... , xtpImageDisabled);
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |