Print Page | Close Window

how to get rid of "Toolbar options" dropd

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=700
Printed Date: 24 December 2024 at 8:43am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: how to get rid of "Toolbar options" dropd
Posted By: Joe Brown
Subject: how to get rid of "Toolbar options" dropd
Date Posted: 07 May 2004 at 5:50pm
I have several toolbars in my app, and want to get rid of the dropdown button for "Toolbar options". I don't want the user to be able to customize the toolbar, or even see the dropdown button. How do I get rid of it? I've tried looking at SetFlags with no luck.



Replies:
Posted By: SuperMario
Date Posted: 08 May 2004 at 10:59am

Try this:

 CXTPCommandBars* pCommandBars = GetCommandBars();
 pCommandBars->GetCommandBarsOptions()-> bShowExpandButtonAlways = False;



Posted By: Joe Brown
Date Posted: 10 May 2004 at 12:43pm
Worked like a charm. Thanks!



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