#include <mw/AknUtils.h>
| class AknPopupUtils |
| Public Member Functions | |
|---|---|
| IMPORT_C TPoint | Position(const TSize &, TBool) |
| IMPORT_C TPoint | Position(const TSize &, CCoeControl *) |
Helper functions for Popups
Calculates proper position for a popup control. Returned value depends on currently active layout and softkey visibility.
| Parameter | Description |
|---|---|
| aSize | The size of the popup. |
| aSoftkeysVisible | ETrue if softkeys are visible. |
Returns: Corrent popup position.
| IMPORT_C TPoint | Position | ( | const TSize & | aSize, |
| CCoeControl * | aControl | |||
| ) | [static] | |||
Calculates proper position for a popup control. Returned value depends on currently active layout and softkey visibility which is checked from aControl via MOP chain.
| Parameter | Description |
|---|---|
| aSize | The size of the popup. |
| aControl | Control who's position should be calculated. |
Returns: Corrent popup position.