Print Page | Close Window

Adding icons using Commandbars ImageManager

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Shortcut Bar
Forum Description: Topics Related to Codejock Shortcut Bar
URL: http://forum.codejock.com/forum_posts.asp?TID=5811
Printed Date: 23 November 2024 at 3:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Adding icons using Commandbars ImageManager
Posted By: guyfromdubai
Subject: Adding icons using Commandbars ImageManager
Date Posted: 15 December 2006 at 7:19pm

In the shipped ShortcutBar sample, I have noticed that Microsoft Common Controls Image list was used to add icons to the control.

 

Is it possible to use Commandbars ImageManager instead?

 

PS: I want to use both small (16x16) and big (24x24) icons.

 

BEN




Replies:
Posted By: guyfromdubai
Date Posted: 15 December 2006 at 9:05pm
I manage to do it by adding multiple image sizes in ImageManager and use the method AddIcons.
 
BEN


Posted By: LittleJK
Date Posted: 04 January 2007 at 6:37pm
you don't have to put both sizes in the imagelist.... if you put the 24x24 in the codejock image list it will auto size it to fit inside the short cut bar. 



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