Print Page | Close Window

Undockable and uncustomizable 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=2408
Printed Date: 06 October 2024 at 1:33am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Undockable and uncustomizable Toolbar
Posted By: VoimiX
Subject: Undockable and uncustomizable Toolbar
Date Posted: 20 June 2005 at 9:32am
How can I make Toolbar undockable and uncustomizable?



Replies:
Posted By: SuperMario
Date Posted: 20 June 2005 at 9:39am
Maybe set Customizable property of toolbar to False, Set ShowExpandButtonAlways to False, the use the EnableDocking method to set the xtpFlagAlignBottom, xtpFlagAlignTop, xtpFlagAlignLeft, and xtpFlagAlignRight flags.


Posted By: VoimiX
Date Posted: 20 June 2005 at 9:56am
But how? Customizable property is protected.
And what does "m_bBuiltIn" property mean?


Posted By: SuperMario
Date Posted: 20 June 2005 at 10:41am
I think:
CXTPCommandBar::EnableCustomization(BOOL bEnable)


Posted By: VoimiX
Date Posted: 20 June 2005 at 10:52am
After EnableDocking method my Toolbar is still dockable


Posted By: VoimiX
Date Posted: 20 June 2005 at 10:58am
And how can I remove "Toolbar Options" chevron from Toolbar?
And I couldn't find ShowExpandButtonAlways property.


Posted By: SuperMario
Date Posted: 20 June 2005 at 11:04am
Here is a http://forum.codejock.com/forum_posts.asp?TID=534&KW=ShowExpandButtonAlways - link to ShowExpandButtonAlways.
To prevent toolbar from moving at all try : EnableDocking(False /*Or try 0*/)



Posted By: VoimiX
Date Posted: 20 June 2005 at 11:13am
Thanks, Everything is OK


Posted By: SuperMario
Date Posted: 20 June 2005 at 11:13am
Oh I forgot.....Built-In indicates if the command bar is a user created command bar.  This means that the user created it via the Customization dialog.  Built-In toolbars are toolbars the developer (you) added.



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