![]() |
disable toolbar menu item under Toolbars |
Post Reply
|
| Author | |
Joe Brown
Newbie
Joined: 01 March 2004 Status: Offline Points: 15 |
Post Options
Thanks(0)
Quote Reply
Topic: disable toolbar menu item under ToolbarsPosted: 20 May 2004 at 9:13pm |
|
I have an MDI app and am using the default menu. I added a toolbar with the code below:
It appears fine and can be turned on and off. What I can't figure out is how to disable the menu item. I parse the menu structure and get command bar for View->Toolbars, but the only entry is &Toolbar, which is what is in my resource file. The code above, however, adds any toolbar you add to View->Toolbars. What I'm trying to do is show/hide a toolbar based upon a pane being visible. My panes appear in View, and they are being shown/hidden correctly along with the corresponding toolbar, but not the entry under View->Toolbars. Edited by Joe Brown |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 22 October 2004 at 9:05am |
|
Make sure the ID for your the View->Toolbars is 59392. If you
do not want the toolbars to be listed automatically, then you will have
to manually add and remove them from your menu and change the ID of
View->Toolbars to something other than 59392.
|
|
![]() |
|
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 |