Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <W32STD.H>

Class TWsRedrawEvent

class TWsRedrawEvent;

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.

Members

Defined in TWsRedrawEvent:

See also:


Member functions


Handle()const

inline 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.


Rect()const

inline TRect Rect() const;

Description

Gets the rectangle to redraw.

Return value

TRect

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