Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Shortcut Bar
  New Posts New Posts RSS Feed - Adding icons using Commandbars ImageManager
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Adding icons using Commandbars ImageManager

 Post Reply Post Reply
Author
Message
guyfromdubai View Drop Down
Newbie
Newbie


Joined: 15 December 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote guyfromdubai Quote  Post ReplyReply Direct Link To This Post Topic: Adding icons using Commandbars ImageManager
    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

Back to Top
guyfromdubai View Drop Down
Newbie
Newbie


Joined: 15 December 2006
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote guyfromdubai Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
LittleJK View Drop Down
Senior Member
Senior Member
Avatar

Joined: 13 April 2006
Status: Offline
Points: 168
Post Options Post Options   Thanks (0) Thanks(0)   Quote LittleJK Quote  Post ReplyReply Direct Link To This Post 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. 
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.219 seconds.