ArcObjects Library Reference (Controls)  

IGlobeHookHelper Interface

Provides access to members needed when developing commands to work with the GlobeControl, ArcGlobe, and custom controls and applications.

Product Availability

Available with ArcGIS Engine.

Description

Use the IGlobeHookHelper interface to return the Globe, GlobeDisplay, SceneViewer and Camera of the hook passed to the ICommand::OnCreate event regardless of whether the hook is a GlobeControl, ToolbarControl (with a 'buddy' GlobeControl) or ArcGlobe.

Members

Description
Read-only property ActiveViewer Active scene viewer of hooked control or application.
Read-only property Camera Camera of hooked control or application.
Read-only property Globe Globe of hooked control or application.
Read-only property GlobeDisplay GlobeDisplay of hooked control or application.
Read/write property Hook Hook object that should be the same as the hook object passed in ICommand::OnCreate.

CoClasses that implement IGlobeHookHelper

CoClasses and Classes Description
GlobeHookHelper Helps commands work with the GlobeControl, ArcGlobe, custom controls and applications.