Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - how to set button style in ToolBar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to set button style in ToolBar

 Post Reply Post Reply
Author
Message
Pearl View Drop Down
Newbie
Newbie


Joined: 17 September 2007
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote Pearl Quote  Post ReplyReply Direct Link To This Post Topic: how to set button style in ToolBar
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.047 seconds.