Removing the customize option of the comand bars |
Post Reply |
Author | |
d-sleeman
Newbie Joined: 15 June 2006 Status: Offline Points: 5 |
Post Options
Thanks(0)
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? |
|
Barto
Groupie Joined: 27 February 2005 Location: Germany Status: Offline Points: 60 |
Post Options
Thanks(0)
|
1. (in your MainFrame class) GetCommandBars()->GetCommandBarsOptions()->bShowExpandButtonAlways = FALSE;
|
|
d-sleeman
Newbie Joined: 15 June 2006 Status: Offline Points: 5 |
Post Options
Thanks(0)
|
Thanks. Worked like a charm. Always fun stumbling around with a new set of libraries
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |