![]() |
More than two icon sizes? |
Post Reply
|
| Author | |
Smucker
Senior Member
Joined: 02 February 2008 Status: Offline Points: 156 |
Post Options
Thanks(0)
Quote Reply
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) |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 03 February 2008 at 4:03am |
|
Hi, Call GetCommandBars()->GetCommandBarsOptions()->szIcons = AnySizeYouNeed;
|
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
|
GUI Louie
Newbie
Joined: 04 February 2008 Location: United States Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
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?
|
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
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 |
|
![]() |
|
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 |