MenuSets Object (Visio)
Published: July 16, 2012
Includes a MenuSet object for each Microsoft Visio window context that has menus.
Starting with Microsoft Visio 2010, the Microsoft Office Fluent user interface (UI) replaces the previous system of layered menus, toolbars, and task panes. VBA objects and members that you used to customize the user interface in previous versions of Visio are still available in Visio 2013, but they function differently.
To retrieve a MenuSets collection, use the MenuSets property of a UIObject object.
The default property of a MenuSets collection is Item.
Unlike other Visio collections, the MenuSets collection is indexed starting with zero (0) rather than 1.
A MenuSet object is identified in the MenuSets collection by its SetID property, which corresponds to a Visio window context. For a list of SetID values for MenuSet objects, see the SetID property.