This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Controls > ESRI ArcGIS Controls > Interfaces > IH > IHookHelper Interface (ArcObjects .NET 10.5 SDK) |
Provides access to members needed when developing commands to work with the MapControl, PageLayoutControl, ArcMap, and custom controls and applications.
Use the IHookHelper interface to return the ActiveView, PageLayout or FocusMap of the hook passed to the ICommand::OnCreate event regardless of whether the hook is a MapControl, PageLayoutControl, ToolbarControl or ArcMap.
Description | ||
---|---|---|
ActiveView | Active view of hooked control or application. | |
FocusMap | Focus map of hooked control or application. | |
Hook | Hook object that should be the same as the hook object passed in ICommand::OnCreate. | |
OperationStack | Operation stack of hooked control or application used for undo/redo operations. | |
PageLayout | Page layout of hooked control or application. |
CoClasses and Classes | Description |
---|---|
HookHelper | Helps commands work with the MapControl, PageLayoutControl, ArcMap, custom controls and applications. |