TWindowInfo Class Reference

#include <w32adll.h>

Link against: peninputlayoutcontrol.lib

class TWindowInfo

Nested Classes and Structures

Public Attributes
TDisplayMode iMode
TRect iScreenPos
Public Member Functions
TWindowInfo()
voidGetRedrawRegionAndRedrawShadowRegion(const TRegion *&, const TRegion *&)

Detailed Description

Animation window information.

Stores the window position and display mode for the animation. During a redraw of the animation window, the redraw regions can be retrieved by calling GetRedrawRegionAndRedrawShadowRegion().

See also: TWindowInfo::GetRedrawRegionAndRedrawShadowRegion()

Member Attribute Documentation

iMode

The display mode.

This is the minimum display mode that the screen has to be in to display this window.

iScreenPos

TRect iScreenPos

The screen position.

Constructor & Destructor Documentation

TWindowInfo ( )

TWindowInfo()[inline]

Constructs an animation window information object.

Member Function Documentation

GetRedrawRegionAndRedrawShadowRegion ( const TRegion *&, const TRegion *& )

voidGetRedrawRegionAndRedrawShadowRegion(const TRegion *&aRedrawRegion,
const TRegion *&aRedrawShadowRegion
)const [inline]

Returns the current redraw region and redraw shadow region. This function must only be called from an override of CWindowAnim's pure virtual Redraw function. The region pointers retrieved must not be used beyond the end of the Redraw override.

ParameterDescription
aRedrawRegionThe redraw region in screen coordinates.
aRedrawShadowRegionThe redraw shadow region in screen coordinates.