AknPopupUtils Class Reference

#include <mw/AknUtils.h>

class AknPopupUtils
Public Member Functions
IMPORT_C TPointPosition(const TSize &, TBool)
IMPORT_C TPointPosition(const TSize &, CCoeControl *)

Detailed Description

Helper functions for Popups

Since
S60 v5.2

Member Function Documentation

Position ( const TSize &, TBool )

IMPORT_C TPointPosition(const TSize &aSize,
TBoolaSoftkeysVisible
)[static]

Calculates proper position for a popup control. Returned value depends on currently active layout and softkey visibility.

ParameterDescription
aSizeThe size of the popup.
aSoftkeysVisibleETrue if softkeys are visible.

Returns: Corrent popup position.

Position ( const TSize &, CCoeControl * )

IMPORT_C TPointPosition(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.

ParameterDescription
aSizeThe size of the popup.
aControlControl who's position should be calculated.

Returns: Corrent popup position.