Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Removing the customize option of the comand bars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Removing the customize option of the comand bars

 Post Reply Post Reply
Author
Message
d-sleeman View Drop Down
Newbie
Newbie
Avatar

Joined: 15 June 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote d-sleeman Quote  Post ReplyReply Direct Link To This Post Topic: Removing the customize option of the comand bars
    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?
Back to Top
Barto View Drop Down
Groupie
Groupie


Joined: 27 February 2005
Location: Germany
Status: Offline
Points: 60
Post Options Post Options   Thanks (0) Thanks(0)   Quote Barto Quote  Post ReplyReply Direct Link To This Post Posted: 16 June 2006 at 6:23am
1. (in your MainFrame class) GetCommandBars()->GetCommandBarsOptions()->bShowExpandButtonAlways = FALSE;
Back to Top
d-sleeman View Drop Down
Newbie
Newbie
Avatar

Joined: 15 June 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote d-sleeman Quote  Post ReplyReply Direct Link To This Post Posted: 18 June 2006 at 7:44pm
Thanks. Worked like a charm. Always fun stumbling around with a new set of libraries 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.172 seconds.