Print Page | Close Window

Big size button in group

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=10221
Printed Date: 25 June 2024 at 3:08am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Big size button in group
Posted By: Ayub
Subject: Big size button in group
Date Posted: 14 April 2008 at 8:46am
Hi,
 
We need to show few buttons in 32*32 size. This is similar to Zoom button on View tab from your ribbon sample.
 
Currently we are creating buttons by
(pGroupHome)->Add(xtpControlButton, menuid, label);. method which by default creas 16*16 size button.
 
Also we don't have luxary to create these buttons from resource.
 
Regards,
Ayub



Replies:
Posted By: Oleg
Date Posted: 14 April 2008 at 9:11am
Hi,
 
You just need add bitmap 32*32 for this menuid.
 
Also try call pControl->SetStyle(xtpButtonIconAndCaptionBelow);


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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