MEikEdwinSizeObserver Class Reference

class MEikEdwinSizeObserver

Interface to handle changes to an edwin's size.

Public Member Functions
TBool HandleEdwinSizeEventL(CEikEdwin *, TEdwinSizeEvent, TSize)
Public Member Enumerations
enumTEdwinSizeEvent { EEventSizeChanging }

Member Functions Documentation

HandleEdwinSizeEventL(CEikEdwin *, TEdwinSizeEvent, TSize)

TBool HandleEdwinSizeEventL(CEikEdwin *aEdwin,
TEdwinSizeEventaEventType,
TSizeaDesirableEdwinSize
)[pure virtual]

Handles a change in the edwin's size. If you implement this function, ensure it returns ETrue if you wish to redraw the edwin.

Parameters

CEikEdwin * aEdwinThe edwin for which the size event is being handled.
TEdwinSizeEvent aEventTypeThe event type.
TSize aDesirableEdwinSizeThe desired size for the edwin identified by aEdwin.

Member Enumerations Documentation

Enum TEdwinSizeEvent

Specifies the type of event reported to the edwin observer.

Enumerators

EEventSizeChanging

Specifies a change in edwin size. When the edwin observer receives an event of this type, it handles it by making its view bigger or smaller according to the new edwin size.