AknPopupUtils Class Reference

class AknPopupUtils

Helper functions for Popups

Since
S60 v5.2
Public Member Functions
IMPORT_C TPointPosition(const TSize &, TBool)
IMPORT_C TPointPosition(const TSize &, CCoeControl *)

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

Parameters

const TSize & aSizeThe size of the popup.
TBool aSoftkeysVisibleETrue if softkeys are visible.

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.

Parameters

const TSize & aSizeThe size of the popup.
CCoeControl * aControlControl who's position should be calculated.