menubar

S

Saritha

Hi,
I'am writing Visio Add-on to add custom menu items to standard menu.But
How to delete menuitems which i dont need from that standard menu.
am writing like this:
Microsoft.Office.Core.CommandBars theCommandBars;
Microsoft.Office.Core.CommandBar commandBarToDelete;

theCommandBars = (Microsoft.Office.Core.CommandBars)
visioApplication.CommandBars;

string CommandBarName;

commandBarToDelete = theCommandBars[CommandBarName];

commandBarToDelete.Delete();

But what to Pass for CommandBarName??? to delets say: Help from the standard
menu.

Thanks

Saritha.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top