Print Page | Close Window

Forcing >> icon

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=6717
Printed Date: 21 December 2024 at 9:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Forcing >> icon
Posted By: Simon HB9DRV
Subject: Forcing >> icon
Date Posted: 23 March 2007 at 9:19am
How do I get a toolbar in a dialog in a pane to show the >> icon when needed and otherwise not show it?

My current solution (which I don't like) is to enable display of the v button which in turn causes >> to be shown when needed, ideally I do not show v ever as the user cannot customise anything.
 
I enable v with
GetCommandBarsOptions()->bShowExpandButtonAlways = TRUE;
 
If I do not enable bShowExpandButtonAlways then I never get >>.
 
 


-------------
Simon HB9DRV



Replies:
Posted By: Barto
Date Posted: 24 March 2007 at 8:39am
I had the exact same problem a few days ago, and after looking through the implementation of CXTPToolBar, I came to the conclusion that it's not possible without changes to the ToolKit.


Posted By: Simon HB9DRV
Date Posted: 24 March 2007 at 9:47am
Originally posted by Barto Barto wrote:

I had the exact same problem a few days ago, and after looking through the implementation of CXTPToolBar, I came to the conclusion that it's not possible without changes to the ToolKit.
FWIW it's OK in an MDI app.


-------------
Simon HB9DRV



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