ArcObjects Library Reference (Display)  

IDisplayEvents.DisplayScrolled Event

Notifies clients when display is scrolled.

[Visual Basic 6.0]
Event DisplayScrolled(
    ByVal Display As IDisplay, _
    ByVal deltaX As Long, _
    ByVal deltaY As Long _
)
[Visual Basic .NET]
Public Event DisplayScrolled As DisplayScrolledEventHandler
[C#]
public event DisplayScrolledEventHandler DisplayScrolled
[C++]
HRESULT DisplayScrolled(
  IDisplay* Display,
  long deltaX,
  long deltaY
);
[C++]

Parameters

Display [in]

  Display is a parameter of type IDisplay

deltaX [in]   deltaX is a parameter of type long deltaY [in]   deltaY is a parameter of type long

Product Availability

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

Remarks

IScreenDisplay::DoScroll fires this event to notify all clients that the display has scrolled.  For example, the Map object listens for this event because it needs to perform some drawing operations whenever its display is scrolled.

See Also

IDisplayEvents Interface