Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: eikedwob.h
Link against: eikcoctl.lib

Class MEikEdwinSizeObserver

MEikEdwinSizeObserver

Support

Supported from 6.0

Description

Interface to handle changes to an edwin's size.

Defined in MEikEdwinSizeObserver:
EEventSizeChanging, HandleEdwinSizeEventL(), TEdwinSizeEvent


HandleEdwinSizeEventL()

virtual TBool HandleEdwinSizeEventL(CEikEdwin* aEdwin, TEdwinSizeEvent aEventType, TSize aDesirableEdwinSize)=0;

Description

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* aEdwin

The edwin for which the size event is being handled.

TEdwinSizeEvent aEventType

The event type.

TSize aDesirableEdwinSize

The desired size for the edwin identified by aEdwin.

Return value

TBool

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

[Top]


Enumerations


Enum TEdwinSizeEvent

TEdwinSizeEvent

Description

Specifies the type of event reported to the edwin observer.

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.