vini1

Dataframe event in page layout mode.

Discussion created by vini1 on Nov 20, 2012
Latest reply on Nov 21, 2012 by vini1
Hi all,

I try to get the event fired while I change activeview in pagelayout mode.  In data mode, i use IDocumentEvents_ActiveViewChangedEventHandler and all works perfectly,  but when i use pan or zoom (data mode operation) in pagelayout mode, this event not fire.  I'm able to to get the pagelayout refresh event with ESRI.ArcGIS.Carto.IActiveViewEvents_Event and viewrefreshed function, but it's on demand, when user click on the refresh button.  I want to do this automatically.

Private m_activeViewEvents As ESRI.ArcGIS.Carto.IActiveViewEvents_Event
m_activeViewEvents = CType(itfMxDocument.PageLayout, ESRI.ArcGIS.Carto.IActiveViewEvents_Event)
AddHandler m_activeViewEvents.ViewRefreshed, AddressOf m_pActiveViewEventsLayout_Change

I work with ArcGIS 9.3.1

thank you
N.B. I don't want event for pagelayout manipulation, i'm already able to get it.

Outcomes