ArcObjects Library Reference (Controls)  

ICommandHook Interface

Provides access to members that work with HookHelper. Custom control or application needs to implement ICommandHook to be recognized by HookHelper.

Product Availability

Available with ArcGIS Engine.

Description

Implement the ICommandHook interface in custom controls and applications if you want them to work with HookHelper objects. The HookHelper is designed to help developers write custom commands that will work with the ArcGIS Engine MapControl, PageLayoutControl, ToolbarControl and the ArcMap application as well as custom applications.

Members

Description
Read-only property ActiveView Active view of control or application.
Read-only property OperationStack Operation stack of control or application used for undo/redo operation. Return NULL if control or application does not have its own operation stack.
Read-only property PageLayout Page layout of control or application. Return NULL if not supporting page layout.