Print Page | Close Window

how to set button style in ToolBar

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=8066
Printed Date: 03 March 2025 at 4:29am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to set button style in ToolBar
Posted By: Pearl
Subject: how to set button style in ToolBar
Date Posted: 18 September 2007 at 11:49am
HI Oleg
 
Originally I created toolbar using MFC CToolBar, and set some buttons on the toolbar as checkbox style using m_wndLogBar.SetButtonStyle( 8, TBBS_CHECKBOX) for example, right now I changed CtoolBar as CXTPToolBar, is any replacement function in codejock to set button style as checkbox on toolbar , and also make it as checked state.
 
Thanks in advance
 
Perl



Replies:
Posted By: Oleg
Date Posted: 18 September 2007 at 1:32pm
Hi,
 
All buttons can be checked/unchecked without additional style. Run CustomThemes sample and check how Themes buttons work.


-------------
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