Print Page | Close Window

Removing Customization

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=1036
Printed Date: 11 June 2024 at 7:13pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Removing Customization
Posted By: Dejan
Subject: Removing Customization
Date Posted: 09 August 2004 at 12:42am

Is it possible to remove all customization elements from the toolbar?

Setting <bShowExpandButtonAlways = false> removes menu from the toolbar end, but right mouse click on the toolbar still displays menu with the menu/toolbar list. I would prefer to have customization entirely removed.

Regards,

Dejan




Replies:
Posted By: SuperMario
Date Posted: 09 August 2004 at 6:25am
Try setting <m_bContextMenuPresent = False> for each commandbar.


Posted By: Dejan
Date Posted: 09 August 2004 at 7:05pm
Yes, that's exactly what I did in the end, though by using the provided wrapper member, for each command bar ...

pCommandBar->SetContextMenuPresent(FALSE);

There was an interesting side effect that main menu also had this customization menu disabled - without actually doing anything to it.

Thanks for the tip.




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