This document is archived and information here might be outdated.  Recommended version.


IPageLayoutControlEvents.OnFocusMapChanged Event (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Controls)  

IPageLayoutControlEvents.OnFocusMapChanged Event

Fires when the current focus map in the PageLayoutControl has been switched to a new map.

[Visual Basic .NET]
Public Event OnFocusMapChanged As OnFocusMapChangedEventHandler
[C#]
public event OnFocusMapChangedEventHandler OnFocusMapChanged
[C++]
HRESULT OnFocusMapChanged(
void
);

Product Availability

Available with ArcGIS Engine.

Description

The OnFocusMapChanged event is based upon the IActiveViewEvents::FocusMapChanged event. The event is fired whenever a new map is made active. If a Map Document has been loaded into the PageLayoutControl that contains multiple map frames, the event will be triggered when the IActiveView::FocusMap property is changed.

See Also

IPageLayoutControlEvents Interface