ArcObjects Library Reference (PublisherControls)  

IARControlEvents Interface

Provides access to events that occur with interaction to the control.

Product Availability

Available with ArcGIS Desktop. Requires Publisher Extension.

Description

IARControlEvents is the main events interface for the ArcReaderControl. Generally there is no need to explicitly set event handlers, as most development environments will automatically provide event handlers. These events allow you to programmatically listen out for specific things happening inside of the ArcReaderControl such as the mouse being pressed down, or the CurrentView display being refreshed.

Members

Description
Event OnAction Fires when an action takes place.
Event OnAfterScreenDraw Fires after the current map or page layout view redraws.
Event OnBeforeScreenDraw Fires before the current map or page layout view redraws.
Event OnCurrentViewChanged Fires when the current view type is changed.
Event OnDocumentLoaded Fires when a document is loaded into the control.
Event OnDocumentUnloaded Fires when a document is unloaded from the control.
Event OnDoubleClick Fires when the user presses and releases any mouse button twice in quick succession, while over the current map or page layout view.
Event OnFocusARMapChanged Fires when the current focus map is changed to a new map.
Event OnKeyDown Fires after a key is pressed on the keyboard whilst the current map or page layout view has focus.
Event OnKeyUp Fires after a pressed key is released on the keyboard whilst the current map or page layout view has focus.
Event OnMouseDown Fires when the user presses any mouse button while over the current map or page layout view.
Event OnMouseMove Fires when the user moves the mouse pointer over the current map or page layout view.
Event OnMouseUp Fires when the user releases any mouse button while over the current map or page layout view.

CoClasses that implement IARControlEvents

CoClasses and Classes Description
ARControlEventsListener (esriSystemUtility) Helper coclass to provide IARControlEvents support to the C++ API.
ArcReaderControl ESRI ArcReaderControl