Print Page | Close Window

More than two icon sizes?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=9477
Printed Date: 01 March 2025 at 11:59am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: More than two icon sizes?
Posted By: Smucker
Subject: More than two icon sizes?
Date 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)




Replies:
Posted By: Oleg
Date Posted: 03 February 2008 at 4:03am

Hi,

Call GetCommandBars()->GetCommandBarsOptions()->szIcons = AnySizeYouNeed;


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: GUI Louie
Date 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?


Posted By: Oleg
Date 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



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net