Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Disabling toolbar image manipulation
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Disabling toolbar image manipulation

 Post Reply Post Reply
Author
Message
pijnappel View Drop Down
Groupie
Groupie


Joined: 30 November 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote pijnappel Quote  Post ReplyReply Direct Link To This Post Topic: Disabling toolbar image manipulation
    Posted: 30 November 2007 at 2:43am
Hi,
 
I created a toolbar with alpha icons and everything works fine so far. When the mouse pointer is off the button the icon is brighter than usual:
 
 
 
When I move the mouse over it it looks better,  like this:
 
 
 
I would like the Icon to have it's original coloring in both cases. How can I disable this effect?
 
Thanks
 
Timo
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2007 at 4:45am
Hi,
 
Add
pCommandBars->GetPaintManager()->GetIconsInfo()->bUseFadedIcons = FALSE;
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
pijnappel View Drop Down
Groupie
Groupie


Joined: 30 November 2007
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote pijnappel Quote  Post ReplyReply Direct Link To This Post Posted: 30 November 2007 at 4:57am
Works like a charm... I also found the bIconsWithShadow there and enabled it... looks really great now
 
Thank you!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.125 seconds.