Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: w32std.h
Link against: N/A

Class TWsRedrawEvent

TWsRedrawEvent

Support

Supported from 5.0

Description

Window server redraw event.

All redraw events generated by the window server are delivered to the client in an object of this type. The class provides a handle to the window which generated the redraw event, and the rectangle which should be redrawn.

Defined in TWsRedrawEvent:
Handle(), Rect()

See also:


Handle()

TUint Handle() const;

Description

Gets the handle of the window which is the target of the redraw event.

This is the handle that was passed to the window's Construct() function: typically it will be a pointer to the object owning the window, providing access to its member functions.

Return value

TUint

The window's handle.

[Top]


Rect()

TRect Rect() const;

Description

Get rectangle to redraw.

Return value

TRect

The rectangle that requires redrawing. Co-ordinates are relative to the window whose handle is given by Handle().