This document is archived and information here might be outdated.  Recommended version.


IToolbarControlEvents Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IToolbarControlEvents Interface

Provides access to events that occur with interaction to the ToolbarControl.

Product Availability

Available with ArcGIS Engine.

Description

This is the main events interface for the ToolbarControl. Generally there is no need to explicitly set event handlers, as most development environments will automatically provide event handlers.

Members

Description
Event OnBuddyChanged Fires after the ToolbarControl Buddy is set.
Event OnDoubleClick Fires when the user presses and releases the mouse button twice in quick succession.
Event OnItemClick Fires after an item on the ToolbarControl is pressed.
Event OnKeyDown Fires after a key is pressed on the keyboard.
Event OnKeyUp Fires after a pressed key is released.
Event OnMouseDown Fires when the user presses any mouse button while over the ToolbarControl.
Event OnMouseMove Fires when the user moves the mouse over the ToolbarControl.
Event OnMouseUp Fires when the user releases a mouse button while over the ToolbarControl.

CoClasses that implement IToolbarControlEvents

CoClasses and Classes Description
ToolbarControl Esri ToolbarControl
ToolbarControlEventsListener (esriSystemUtility) Helper coclass to provide IToolbarControlEvents support to the C++ API.