Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Different size buttons in same CommandBar?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Different size buttons in same CommandBar?

 Post Reply Post Reply
Author
Message
voripteth View Drop Down
Newbie
Newbie
Avatar

Joined: 24 March 2009
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote voripteth Quote  Post ReplyReply Direct Link To This Post Topic: Different size buttons in same CommandBar?
    Posted: 05 May 2009 at 10:22am
I have a command bar where I want one of the buttons to display an image wider than the rest of the bar.  To accomplish this I used the SetWidth to increase the size of the button and SetIconSize to tell it to use a wider graphic image.   Seems like it should work but it doesn't. 

I get the wider button but the image is not the right size.  The wider icon is being compressed to the same size as the rest of the buttons.  How do I get my image to be the size I specified in SetIconSize?
Product: ToolkitPro (MFC) v13.0.0
Platform: Windows XP(32bit)-SP 3
Language: VC++ 2008
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.125 seconds.