VisUIBarProtection enumeration (Visio)

Values passed to and returned by the MenuSet.Protection and Toolbar.Protection properties.

Note

Starting with Visio 2010, the Microsoft Office Fluent user interface (UI) replaced 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, but they function differently.

Constant Value Description
visBarNoChangeDock 16 Can't be docked or floating.
visBarNoCustomize 1 Can't be customized.
visBarNoHorizontalDock 64 Can't be docked horizontally.
visBarNoMove 4 Can't be moved.
visBarNoProtection 0 No protection.
visBarNoResize 2 Can't be resized.
visBarNoVerticalDock 32 Can't be docked vertically.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.