ArcObjects Library Reference  (Controls)    

IToolbarBuddy Interface

Provides access to members that control the ToolbarControl buddy.

Product Availability

Available with ArcGIS Engine.

Description

Objects that implement the IToolbarBuddy interface can be passed to the IToolbarControl::SetBuddyControl method. The ToolbarControl will set properties on this interface in repsonse to the CurrentTool being set.

Members

Description
Read/write property CurrentTool Current active tool for the buddy.

CoClasses that implement IToolbarBuddy

CoClasses and Classes Description
GlobeControl ESRI GlobeControl
MapControl ESRI MapControl
PageLayoutControl ESRI PageLayoutControl
SceneControl ESRI SceneControl
[Visual Basic 6.0]

When querying interface to IToolbarBuddy in Visual Basic 6.0 the Object property must be used. This is because Visual Basic 6.0 contains the real control inside a wrapper object known as an extender object.

Dim pToolbarBuddy As IToolbarBuddy
Set pToolbarBuddy = Form1.MapControl1.Object

 


Feedback Send feedback on this page