MWsWindow Class Reference

class MWsWindow : public MWsObjectProvider

An interface through which a window can be examined This returns non const copies instead of const references, and the functions themselves are non const.

Inherits from

Member Functions Documentation

AbsRect()

TRect AbsRect ( ) const [pure virtual]

Gets the windows rect in absolute co-ordinates.

FindChildByHandle(TUint32)

MWsWindow * FindChildByHandle ( TUint32 aHandle ) [pure virtual]

Finds a child of this window by specifiying its handle.

Parameters

TUint32 aHandle A handle to the window to find.

Handle()

TUint32 Handle ( ) const [pure virtual]

Get the window's handle

Invalidate(const TRect *)

void Invalidate ( const TRect * aRect = 0 ) [pure virtual]

Invalidate an area of the window.

Parameters

const TRect * aRect = 0 TRect containing the area to invalidate.

OrdinalPriority()

TInt OrdinalPriority ( ) const [pure virtual]

Returns the ordinal priority of the node.

Origin()

TPoint Origin ( ) const [pure virtual]

Gets the origin of the window.

Size()

TSize Size ( ) const [pure virtual]

Gets the size of the window

WindowArea()

const TRegion & WindowArea ( ) const [pure virtual]

Get the window's basic area before any clipping is done. For windows with rounded corners, the window area is different from AbsRect.

WsScreen()

MWsScreen * WsScreen ( ) const [pure virtual]

Get the MWsScreen for this window.