MEikEdwinSizeObserver Class Reference

#include <mw/eikedwob.h>

Link against: mpxalbumarteditordialog.lib

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

Detailed Description

Interface to handle changes to an edwin's size.

Member Enumeration Documentation

Enum TEdwinSizeEvent

Specifies the type of event reported to the edwin observer.

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

Member Function 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.

ParameterDescription
aEdwinThe edwin for which the size event is being handled.
aEventTypeThe event type.
aDesirableEdwinSizeThe desired size for the edwin identified by aEdwin.

Returns: The return value depends on your implementation. Return ETrue if you wish to redraw the edwin. EFalse otherwise.