AknPopupUtils Class Reference

class AknPopupUtils

Helper functions for Popups

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

Member Functions Documentation

Position(const TSize &, TBool)

IMPORT_C TPoint Position ( const TSize & aSize,
TBool aSoftkeysVisible
) [static]

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

Parameters

const TSize & aSize The size of the popup.
TBool aSoftkeysVisible ETrue if softkeys are visible.

Position(const TSize &, CCoeControl *)

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.

Parameters

const TSize & aSize The size of the popup.
CCoeControl * aControl Control who's position should be calculated.