ArcObjects Component Help  (Core)    

ScreenDisplay CoClass

ESRI Screen Display.

Interfaces

Interfaces Description
IConnectionPointContainer
IDisplay Provides access to members that control the Display.
IDraw Provides access to members that control drawing.
IScreenDisplay Provides access to members that control Screen Display.
IScreenDisplay2 Provides access to additional members that control the Screen Display.
ITransformEvents Provides access to members that control Transform Events.

Event Interfaces

Interfaces Description
IDisplayEvents (default) Provides access to members that control Display Events.

Remarks

The ScreenDisplay object is a display device that is associated with a window.  In addition to managing the display attributes for the screen, a ScreenDisplay also manages other issues specific to windows including backing stores (caches), scrolling, and invalidation.

Several objects manage (CoCreate) a ScreenDisplay object to help control their associated window.  For example, each active view, Map and PageLayout, has its own associated ScreenDisplay and so does the MapInsetWindow. The AppDisplay object does not instantiate a new ScreenDisplay object; instead, this object implements the IScreenDisplay interface which is also what the ScreenDisplay object does.

A reference to a ScreenDisplay object is typically obtained via IActiveView::ScreenDisplay for the active views or ILensWindow::ScreenDisplay for the MapInsetWindow.

The ScreenDisplay object is CoCreateable; one case when you may have to create a new ScreenDisplay object, is when creating a custom active view.

Working with Events

[VB6]

When working with ScreenDisplay's default outbound interface in Visual Basic 6 declare variables as follows:

Private WithEvents pScreenDisplay as ScreenDisplay

See Also

IActiveView Interface