Visio 2013: How to add and remove controls from Shape Drop-Down context menu

Kelvin4
Kelvin4 used Ask the Experts™
on
To avoid confusion, in developer mode, the shape drop-down context menu has 'show shapesheet' as the control at the top of the menu list.

How to render invisible all of the controls on this menu, except for the Add Comment ctl, and then add some other buttons to call custom macros?  Can I also remove the horizontal separators between (eg) 'Hyperlink' and 'Add Comment'?

I think should be done via XML, but I have not modified a drop-down menu before.

(I have customised the Excel fluent ribbon, and occasionally added ctl buttons to the top level of the Visio ribbon.)

Can you point me to the standard method?

Thanks
Kelvin
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Visio Consultant, Trainer, Author, and Developer
Most Valuable Expert 2011
Commented:
I think this MSDN article contains most of what you'll need to get started.

Author

Commented:
Thanks!

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial