Print Page | Close Window

Icons

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=14036
Printed Date: 07 October 2024 at 2:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Icons
Posted By: coolzsunil
Subject: Icons
Date Posted: 16 April 2009 at 3:20am
Hi,

For commandbars, we have an option of displaying large icons or small icons based on the check box in the Customize dialog.

The documentation says the following:

*********************************************************************************************************************************

It is useful to add an image with multiple sizes if you plan to display the image in different sizes, this way the image does not need to be scaled

*********************************************************************************************************************************

a) Here my question is for icons with multiple sizes, how do we determine when we need to show the large icon and when the small icon? Is there any event that can be captured?

b) How do we need to add the icon into the ImageManager's Icons collection? Do we need to use the same Id? How?

c) How does the ImageManager decide when to display the small or large icon?
 
Product: Xtreme Command Bars ActiveX v13.0.0
Platform: Windows XP (32bit) - SP 3
Language: Visual C++ 2008



Replies:
Posted By: Oleg
Date Posted: 16 April 2009 at 4:21am
Hi,
 
a) see Options property of CommandBars.
 
b) just use same Id.
 
c) CommandBars determine what size of Image need to display and pass it to ImageManager.
ImageManager try to find size that most close to this size.


-------------
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