Viewer.OnToolbarCustomized Event (Visio Viewer)
Occurs when the user customizes the Microsoft Visio Viewer toolbar by adding or removing buttons.
_expression_An expression that returns a Viewer object.
You can customize the toolbar in Visio Viewer by adding or removing buttons. To do so in the user interface, right-click in the toolbar area, and then click Customize.
The following code shows how to use the OnToolbarCustomized event to display a message in the Immediate window when the user customizes the toolbar in Visio Viewer.
Private Sub vsoViewer_OnToolbarCustomized() Debug.Print "The toolbar has been customized!" End Sub