MEikEdwinSizeObserver Class Reference

API published in: S60 1st Ed

Link against: avkon.lib eikctl.lib eikcoctl.lib uiklaf.lib form.lib

Capability Information

Required Capabilities

None


#include <eikedwob.h>

Inherited by CAknQueryControl, and CEikDialogPage.


Detailed Description

Interface to handle changes to an edwin's size.

Public Types

enum   TEdwinSizeEvent { EEventSizeChanging }
  Specifies the type of event reported to the edwin observer. More...

Public Member Functions

virtual TBool  HandleEdwinSizeEventL (CEikEdwin *aEdwin, TEdwinSizeEvent aEventType, TSize aDesirableEdwinSize)=0
  Handles a change in the edwin's size.

Member Enumeration Documentation

enum MEikEdwinSizeObserver::TEdwinSizeEvent
 

Specifies the type of event reported to the edwin observer.

Enumerator:
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

virtual TBool MEikEdwinSizeObserver::HandleEdwinSizeEventL CEikEdwin aEdwin,
TEdwinSizeEvent  aEventType,
TSize  aDesirableEdwinSize
[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:
aEdwin  The edwin for which the size event is being handled.
aEventType  The event type.
aDesirableEdwinSize  The 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.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2008
Back to top