Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Icons
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Icons

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


Joined: 18 March 2009
Status: Offline
Points: 28
Post Options Post Options   Thanks (0) Thanks(0)   Quote coolzsunil Quote  Post ReplyReply Direct Link To This Post Topic: Icons
    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
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: 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
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.141 seconds.