ArcObjects Library Reference (Carto)  

IMapFrameEvents Interface

Provides access to the events that occur when the state of the map frame changes.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

Use the IMapFrameEvents to listen for the event of the frame being resized.  This interface is implemented by both the MapFrame and the MapSurroundFrame coclasses.  Whenever objects of these types are resized, the event is fired and code that has been implemented for the event is executed.


Event MapFrameResized Occurs when a map frame is resized.

CoClasses that implement IMapFrameEvents

CoClasses and Classes Description
MapFrame A graphic element for displaying maps.
MapFrameEventsListener (esriSystemUtility) Helper coclass to provide IMapFrameEvents support to the C++ API.
MapSurroundFrame A graphic element for displaying map surrounds.