ArcObjects Library Reference  (Controls)    

IGlobeHookHelper.Hook Property

Hook object that should be the same as the hook object passed in ICommand::OnCreate.

[Visual Basic 6.0]
Property Hook As Object
[Visual Basic .NET]
Public Property Hook As Object
[C#]
public object Hook {get; set;}
[Java]
public Object getHook()
throws
    IOException,
    AutomationException
[Java]
public void setHookByRef(
Object Hook
)
throws
    IOException,
    AutomationException
[C++]
HRESULT get_Hook(
  IDispatch** ppHook
);
[C++]
HRESULT putref_Hook(
  IDispatch* ppHook

);

[C++]

Parameters

ppHook [out, retval]

  ppHook is a parameter of type IDispatch*

ppHook [in]

  ppHook is a parameter of type IDispatch*

Product Availability

Available with ArcGIS Engine.

Description

The hook that is passed to the ICommand::OnCreate event. The hook is a GlobeControl or ArcGlobe.

Errors Returned

1051 800a041b: The supplied hook is not valid - a menu hook must support IToolbarControl or IToolbarBuddy

See Also

IGlobeHookHelper Interface

 


Feedback Send feedback on this page