Print Page | Close Window

Removing the customize option of the comand bars

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=4423
Printed Date: 11 May 2025 at 3:54am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Removing the customize option of the comand bars
Posted By: d-sleeman
Subject: Removing the customize option of the comand bars
Date Posted: 15 June 2006 at 10:24pm
I'm currently adapting an old project to use the CXTPCommandBars but I don't want the customization abilitites for this particular project (requirement)

1) I want to remove the drop-down arrow/associated menu from the toolbars if possible so that "Add or Remove buttons" is not available. Anyone know how to do this. "EnableCustomization()" didn't do anything...

2) (Different project) Also, if I switch the language to Japanese, the text "Add or remove buttons" does not appear at all. Is there a way I can customize this text to display my own Japanese translation?



Replies:
Posted By: Barto
Date Posted: 16 June 2006 at 6:23am
1. (in your MainFrame class) GetCommandBars()->GetCommandBarsOptions()->bShowExpandButtonAlways = FALSE;


Posted By: d-sleeman
Date Posted: 18 June 2006 at 7:44pm
Thanks. Worked like a charm. Always fun stumbling around with a new set of libraries 



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