![]()  | 
 
Adding icons using Commandbars ImageManager | 
 
    Post Reply  
   | 
  
| Author | |
   
   guyfromdubai  
   
   Newbie  
   Joined: 15 December 2006 Status: Offline Points: 3  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: Adding icons using Commandbars ImageManagerPosted: 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. 
  | 
 |
![]()  | 
 |
   
   guyfromdubai  
   
   Newbie  
   Joined: 15 December 2006 Status: Offline Points: 3  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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 
    | 
 |
![]()  | 
 |
   
   LittleJK  
   
   Senior Member  
   Joined: 13 April 2006 Status: Offline Points: 168  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     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. 
    
   
   | 
 |
![]()  | 
 |
    Post Reply  
   | 
  |
|       
  
  Tweet   	
    | 
 
| Forum Jump | Forum Permissions  ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum  |