Print Page | Close Window

Different size buttons in same CommandBar?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14217
Printed Date: 16 November 2024 at 1:09pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Different size buttons in same CommandBar?
Posted By: voripteth
Subject: Different size buttons in same CommandBar?
Date 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



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