![]()  | 
 
different size Buttons in CXTPToolBar | 
 
    Post Reply  
   | 
  
| Author | |
   
   Wolfgang  
   
   Newbie  
   Joined: 01 December 2003 Status: Offline Points: 36  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Topic: different size Buttons in CXTPToolBarPosted: 21 July 2005 at 9:34am  | 
 
| 
   
    Hi, again a question. I use the CXTPToolBar, so far it worked really nice, but now i would need to add a larger (ie. wider) Button. the normal buttons are 16*16, but one should be 40*16 I thought that // set a new (larger) icon for the Sending would do the trick It changes the Icon, but the Button still stays 16*16, which means that the Bmp in the Button is shrinked to fit. Is there a way to enlarge one Button in the Toolbar? thanks in advance Wolfgang  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 21 July 2005 at 11:23pm | 
 
| 
   
    
   pToolBar->SetIconSize(CSize(41,16)); 
    
   
   | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   Wolfgang  
   
   Newbie  
   Joined: 01 December 2003 Status: Offline Points: 36  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 July 2005 at 2:54am | 
 
| 
   
    this doesn't do the trick. It makes all buttons that size, i need one Button to be 41*16, the rest schould be 16*16 Does Codejock offer a way to use such a feature? So far I haven't found anyclue for it, in the documentation. Thanks in advance Wolfgang  | 
 |
![]()  | 
 |
   
   Oleg  
   
   Senior Member  
   Joined: 21 May 2003 Location: United States Status: Offline Points: 11234  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 22 July 2005 at 1:19pm | 
 
| 
   
    Hi, see attached sample.  | 
 |
| 
   
     
     Oleg, Support Team 
   
  CODEJOCK SOFTWARE SOLUTIONS  | 
 |
![]()  | 
 |
   
   Wolfgang  
   
   Newbie  
   Joined: 01 December 2003 Status: Offline Points: 36  | 
  
   
      Post Options
    
        Thanks(0)
      Quote   Reply
   
     Posted: 18 August 2005 at 9:57am | 
 
| 
   
    thanks for your help it works quite fine!! Nevertheless one more question. Is there a way to place some sapce between some buttons. E.g. I have to seperate the last Button of the Toolbar from the others. (not via a Seperator but with actual space (20-30 Pixel) of just toolbars. My first idea was to insert a Button which is always disabled and with no icon. but maybe there is a more readable way too? thanks in advance Wolfgang  | 
 |
![]()  | 
 |
    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  |