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


ToolbarControl Class (ArcObjects .NET 10.7 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Classes > T > ToolbarControl Class
ArcGIS Developer Help

ToolbarControlClass Class

Esri ToolbarControl

Product Availability

Available with ArcGIS Engine.

Description

The ToolbarControl hooks up command objects to the MapControl, PageLayoutControl, GlobeControl and SceneControl and provides properties, methods and events for: managing the general appearance; setting the buddy; adding and removing items; setting the current tool; and customization.

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IConnectionPointContainer (esriDisplay)
IPersist (esriSystem)
IPersistStreamInit (esriGeoDatabase)
ISupportErrorInfo (esriSystem)
IToolbarControl Provides access to members that control the ToolbarControl.
IToolbarControl2 Provides access to members that control the ToolbarControl.
IToolbarControlDefault Provides access to members that control the ToolbarControl.
IToolbarControlEvents Provides access to events that occur with interaction to the ToolbarControl.