Provides access to events that occur in ArcMap.
| Description | ||
|---|---|---|
![]() |
ActiveViewChanged | Fired when the active view changes. |
![]() |
BeforeCloseDocument | Fired before a document is closed. Return True to abort the close process. |
![]() |
CloseDocument | Fired when a document is closed. |
![]() |
MapsChanged | Fired when a change is made to the map collection. |
![]() |
NewDocument | Fired when a new document is created. |
![]() |
OnContextMenu | Indicates if a context menu should be displayed at the given xy location. Return true if handled. |
![]() |
OpenDocument | Fired when a document is opened. |
| CoClasses and Classes | Description |
|---|---|
| Adjustment (esriEditorExt) | The Adjustment Tools Editor Extension. |
| ArcToolboxExtension (esriGeoprocessingUI) | |
| DataGraphWindow | Window in hosting and displaying data graph. |
| DocumentEvents | Helper coclass for working with the nondefault outbound IDocumentEvents interface in VB. |
| FindWindowUI | Window to display Find dialog in. |
| FMEAnnotation (esriDataInteropUI) | FMEAnnotation Class |
| GpsExtension | The GPS extension object. |
| LocatorExtension (esriLocationUI) | An extension for locators in ArcMap. |
| MapInsetWindow | Window to display MapInsets. |
| MxDocument | ESRI Mx Document. |
| NADirectionsWindowManager (esriNetworkAnalystUI) | Network Analyst Directions Window Manager Class. |
| NetworkAnalystExtension (esriNetworkAnalystUI) | The extension for network analysis. |
| OverviewWindow | Window to display Overviews. |
| Publisher (esriPublisherUI) | The Publisher Extension coclass. |
| ReportSelection | Captures selection change, and reports this on the status bar. |
| SchematicExtension (esriSchematicUI) | Schematic Extension object. |
| TOCCatalogView | ESRI TOC Catalog View. |
| TOCSelectionView | ESRI TOC Selection View. |
In VBA, use the IDocumentEventsDisp interface instead of IDocumentEvents.