Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - More than two icon sizes?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

More than two icon sizes?

 Post Reply Post Reply
Author
Message
Smucker View Drop Down
Senior Member
Senior Member
Avatar

Joined: 02 February 2008
Status: Offline
Points: 156
Post Options Post Options   Thanks (0) Thanks(0)   Quote Smucker Quote  Post ReplyReply Direct Link To This Post Topic: More than two icon sizes?
    Posted: 02 February 2008 at 6:36pm
I would like to have more than two icon sizes. Where should I start to implement this?

Thanks!

Product: Xtreme Toolkit Pro version 13.2 (Unicode, static build)

Platform: Windows 200x/XP/Vista/Win7 (32/64 bit)

Language: Visual C++ 9.0 (Studio 2008)

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: 03 February 2008 at 4:03am

Hi,

Call GetCommandBars()->GetCommandBarsOptions()->szIcons = AnySizeYouNeed;
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
GUI Louie View Drop Down
Newbie
Newbie
Avatar

Joined: 04 February 2008
Location: United States
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote GUI Louie Quote  Post ReplyReply Direct Link To This Post Posted: 04 February 2008 at 4:32pm
Oleg,
 
You suggested calling GetCommandBars()->GetCommandBarsOptions()->szIcons = AnySizeYouNeed;
 
Won't this scale the image?  What is the best way to manage 2 different images for the same command ID?
 
GL
usability?
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: 05 February 2008 at 12:31am
Hi,
ImageManager supports muliple sizes for same Id.
 
call pCommandBars->GetImageManager()->SetIcons(...) to load icons.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.031 seconds.