Print Page | Close Window

Weird TabToolbar behavior

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=14844
Printed Date: 29 June 2024 at 12:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Weird TabToolbar behavior
Posted By: rconn
Subject: Weird TabToolbar behavior
Date Posted: 27 July 2009 at 9:50pm
Using 13.1.0:
 
I have a tabbed toolbar (CXTPTabToolbar) with several tabs and varying number of buttons.  If I select a tab that only has a couple of small buttons, the toolbar collapses to the minimum possible size, which results in all but the current tab disappearing (and the current label only being partially displayed), and a pair of scroll arrows taking their place.
 
Since I can't imagine why I would want my tab labels to disappear, is there any way to tell the tabbed toolbar to always display all of the tabs (other than forcing the minimum size to be the window width)?
 
Rex



Replies:
Posted By: Oleg
Date Posted: 29 July 2009 at 12:41am
Hi,
 
Call pToolBar->SetMinimumWidth(..) method.


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


Posted By: rconn
Date Posted: 29 July 2009 at 8:08am
That's what I've done, but it requires that I know the greater of the width of the tab labels and the widest toolbar.  That gets cumbersome when the toolbar is user-defined.
 
Rex



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