CEikMenuBar Class Reference

class CEikMenuBar : public CEikBorderedControl

Menu bars are constructed from MENU_BAR resources and issue application commands which should be handled by overriding CEikAppUi::HandleCommandL().

Public Member Functions
CEikMenuBar()
~CEikMenuBar()
IMPORT_C voidChangeMenuBarL(TInt, TInt, TInt)
IMPORT_C voidConstructFromResourceL(TResourceReader &)
IMPORT_C voidConstructL(MEikMenuObserver *, TInt, TInt)
IMPORT_C voidDraw(const TRect &)
IMPORT_C voidDrawItem(TInt)
IMPORT_C voidFindCommandIdInResourceL(TInt, TInt &, TInt &)
IMPORT_C voidGetColorUseListL(CArrayFix< TCoeColorUse > &)
IMPORT_C CEikMenuBar::TMenuTypeGetMenuType()
IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
IMPORT_C voidHandleResourceChange(TInt)
CEikHotKeyTable *HotKeyTable()
IMPORT_C TBoolIsDisplayed()
CAknItemActionMenu *ItemActionMenu()
IMPORT_C TBoolItemSpecificCommandsEnabled()
IMPORT_C CEikMenuPane *MenuPane()
IMPORT_C voidMoveHighlightToL(TInt, TInt)
IMPORT_C TKeyResponseOfferKeyEventL(const TKeyEvent &, TEventCode)
CEikMenuPane *PopulateItemActionMenuL(CAknItemActionMenu &)
IMPORT_C voidReduceRect(TRect &)
IMPORT_C voidRemoveEditMenuObserver(MEikMenuObserver *)
IMPORT_C TIntSelectedItem()
IMPORT_C TIntSelectedTitle()
IMPORT_C voidSetContextMenuTitleResourceId(TInt)
IMPORT_C voidSetEditMenuObserver(MEikMenuObserver *)
IMPORT_C CEikHotKeyTable *SetHotKeyTable(CEikHotKeyTable *)
voidSetItemActionMenu(CAknItemActionMenu *)
IMPORT_C SCursorSetMenuCursor(const SCursor &)
IMPORT_C voidSetMenuTitleArray(CTitleArray *)
IMPORT_C voidSetMenuTitleResourceId(TInt)
IMPORT_C voidSetMenuType(TMenuType)
IMPORT_C voidSetTitleArrayOwnedExternally(TBool)
IMPORT_C voidStopDisplayingMenuBar()
IMPORT_C CTitleArray *TitleArray()
IMPORT_C voidTryDisplayContextMenuBarL()
IMPORT_C voidTryDisplayMenuBarL()
IMPORT_C voidTryDisplayMenuBarWithoutFepMenusL()
Private Member Functions
voidAddFEPMenuL()
voidAddMenuIfNotPresentL(TInt)
voidCloseState()
voidCreateTitleArrayL()
IMPORT_C void *ExtensionInterface(TUid)
voidHideMenuPane()
IMPORT_C TCoeInputCapabilitiesInputCapabilities()
TBool MenuHasItems()
TBool MenuHasPane()
TTypeUid::Ptr MopSupplyObject(TTypeUid)
voidProcessCommandL(TInt)
IMPORT_C voidReserved_1()
IMPORT_C voidReserved_2()
voidResetTitleArray()
voidSaveCurrentMenuPositionL()
voidSetCursorPositionFromArray()
voidSetMenuHasItems()
voidSetMenuHasPane()
voidSetMenuPaneFlag(TInt)
voidStartDisplayingMenuBarL()
TBool TitleArrayOwnedExternally()
voidUpdateTitleTextBaseline()
Inherited Functions
CAknControl::CAknControl()
CAknControl::~CAknControl()
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CCoeControl::AccumulatedZoom()const
CCoeControl::ActivateGc()const
CCoeControl::ActivateL()
CCoeControl::BackedUpWindow()const
CCoeControl::Background()const
CCoeControl::CCoeControl()
CCoeControl::CCoeControl(CCoeEnv *)
CCoeControl::CCoeControl(const CCoeControl &)
CCoeControl::CapturesPointer()const
CCoeControl::ClaimPointerGrab(TBool)
CCoeControl::ClaimPointerGrab(TInt,TBool)
CCoeControl::CloseWindow()
CCoeControl::ComponentArrayExists()const
CCoeControl::ComponentControl(TInt)const
CCoeControl::Components()
CCoeControl::Components()const
CCoeControl::ControlContext()const
CCoeControl::ControlEnv()const
CCoeControl::CopyControlContextFrom(const CCoeControl *)
CCoeControl::CountComponentControls()const
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &)
CCoeControl::CreateBackedUpWindowL(RWindowTreeNode &,TDisplayMode)
CCoeControl::CreateWindowL()
CCoeControl::CreateWindowL(RWindowGroup *)
CCoeControl::CreateWindowL(RWindowTreeNode &)
CCoeControl::CreateWindowL(const CCoeControl *)
CCoeControl::CustomGc()const
CCoeControl::DeactivateGc()const
CCoeControl::DrawBackground(const TRect &)const
CCoeControl::DrawDeferred()const
CCoeControl::DrawForeground(const TRect &)const
CCoeControl::DrawNow()const
CCoeControl::DrawNow(const TRect &)const
CCoeControl::DrawableWindow()const
CCoeControl::EnableDragEvents()
CCoeControl::EnableReportControlStateChange(TBool)
CCoeControl::EnableWindowTransparency()
CCoeControl::FindBackground()const
CCoeControl::FindFontProvider()const
CCoeControl::FocusChanged(TDrawNow)
CCoeControl::GetColor(TInt,TRgb &)const
CCoeControl::GetGc()const
CCoeControl::GetHelpContext(TCoeHelpContext &)const
CCoeControl::GrabbingComponent()const
CCoeControl::GrabbingComponent(TInt)const
CCoeControl::HandleComponentControlsResourceChange(TInt)
CCoeControl::HandleControlArrayEventL(CCoeControlArray::TEvent,const CCoeControlArray *,CCoeControl *,TInt)
CCoeControl::HandlePointerBufferReadyL()
CCoeControl::HandleRedrawEvent(const TRect &)const
CCoeControl::HitTest()const
CCoeControl::IgnoreEventsUntilNextPointerUp()
CCoeControl::Index(const CCoeControl *)const
CCoeControl::InitComponentArrayL()
CCoeControl::IsActivated()const
CCoeControl::IsBackedUp()const
CCoeControl::IsBeingDestroyed()const
CCoeControl::IsBlank()const
CCoeControl::IsDimmed()const
CCoeControl::IsFocused()const
CCoeControl::IsNonFocusing()const
CCoeControl::IsReadyToDraw()const
CCoeControl::IsVisible()const
CCoeControl::LayoutManager()const
CCoeControl::MakeVisible(TBool)
CCoeControl::MaximumWidth()const
CCoeControl::MinimumSize()
CCoeControl::NotifyFontChange(const CCoeFontProvider *)
CCoeControl::Observer()const
CCoeControl::OverrideColorL(TInt,TRgb)
CCoeControl::OwnsWindow()const
CCoeControl::Parent()
CCoeControl::Parent()const
CCoeControl::Position()const
CCoeControl::PositionChanged()
CCoeControl::PositionRelativeToScreen()const
CCoeControl::PrepareForFocusGainL()
CCoeControl::PrepareForFocusLossL()
CCoeControl::ProcessPointerBufferReadyL()
CCoeControl::ProcessPointerEventL(const TPointerEvent &)
CCoeControl::Rect()const
CCoeControl::RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)const
CCoeControl::RecursivelyMergedInputCapabilities()const
CCoeControl::RefetchPixelMappingL()
CCoeControl::RemoveFromParent()
CCoeControl::ReportEventL(MCoeControlObserver::TCoeEvent)
CCoeControl::RequestRelayout(const CCoeControl *)
CCoeControl::ResetGc()const
CCoeControl::ScreenFont(const TCoeFont &)const
CCoeControl::SetAllowStrayPointers()
CCoeControl::SetBackground(const MCoeControlBackground *)
CCoeControl::SetBlank()
CCoeControl::SetCanDrawOutsideRect()
CCoeControl::SetComponentsToInheritVisibility(TBool)
CCoeControl::SetContainerWindowL(RBackedUpWindow &)
CCoeControl::SetContainerWindowL(RWindow &)
CCoeControl::SetContainerWindowL(const CCoeControl &)
CCoeControl::SetControlContext(MCoeControlContext *)
CCoeControl::SetCornerAndSize(TGulAlignment,const TSize &)
CCoeControl::SetCustomGc(CWindowGc *)
CCoeControl::SetDimmed(TBool)
CCoeControl::SetExtent(const TPoint &,const TSize &)
CCoeControl::SetExtentToWholeScreen()
CCoeControl::SetFocus(TBool,TDrawNow)
CCoeControl::SetFocusing(TBool)
CCoeControl::SetFontProviderL(const CCoeFontProvider &)
CCoeControl::SetGc(CWindowGc *)const
CCoeControl::SetGloballyCapturing(TBool)
CCoeControl::SetHitTest(const MCoeControlHitTest *)
CCoeControl::SetLayoutManagerL(MCoeLayoutManager *)
CCoeControl::SetMaximumWidth(TInt)
CCoeControl::SetMopParent(MObjectProvider *)
CCoeControl::SetNeighbor(CCoeControl *)
CCoeControl::SetNonFocusing()
CCoeControl::SetObserver(MCoeControlObserver *)
CCoeControl::SetParent(CCoeControl *)
CCoeControl::SetPointerCapture(TBool)
CCoeControl::SetPosition(const TPoint &)
CCoeControl::SetRect(const TRect &)
CCoeControl::SetSize(const TSize &)
CCoeControl::SetSizeWithoutNotification(const TSize &)
CCoeControl::SetTextBaselineSpacing(TInt)
CCoeControl::SetUniqueHandle(TInt)
CCoeControl::SetZoomFactorL(TInt,TZoomType)
CCoeControl::Size()const
CCoeControl::SizeChanged()
CCoeControl::SystemGc()const
CCoeControl::TextBaselineOffset(const TSize &)const
CCoeControl::TextDrawer(TInt)const
CCoeControl::UniqueHandle()const
CCoeControl::Window()const
CCoeControl::WriteInternalStateNowL(RWriteStream &)const
CCoeControl::ZoomWithType()const
CCoeControl::operator=(const CCoeControl &)
CCoeControl::~CCoeControl()
CEikBorderedControl::Border()const
CEikBorderedControl::CEikBorderedControl()
CEikBorderedControl::CEikBorderedControl(const TGulBorder &)
CEikBorderedControl::HasBorder()const
CEikBorderedControl::SetAdjacent(TInt)
CEikBorderedControl::SetBorder(TGulBorder::TBorderType)
CEikBorderedControl::SetBorder(TInt)
CEikBorderedControl::WriteInternalStateL(RWriteStream &)const
Public Member Enumerations
enumTMenuType { EMenuOptions = 0, EMenuContext = 1, EMenuEdit = 2, EMenuOptionsNoTaskSwapper = 3 }
Private Member Enumerations
enumTEikMenuFlags { ETitleArrayOwnedExternally = 0x01, EMenuHasItems = 0x02, EMenuHasPane = 0x04, EBackgroundFaded = 0x08, ESoundsInstalled = 0x10 }
Inherited Enumerations
CCoeControl:TZoomType
Private Attributes
MEikMenuObserver *iActiveEditMenuObserver
TInt iBaseLine
SCursor iCursor
MEikMenuObserver *iEditMenuObserver
CEikMenuBarExtension *iExt
CEikHotKeyTable *iHotKeyTable
CEikButtonGroupContainer *iMenuCba
TInt iMenuFlags
TInt iMenuHotKeyResourceId
MEikMenuObserver *iMenuObserver
CEikMenuPane *iMenuPane
TInt iMenuPaneResourceId
TInt iMenuTitleLeftSpace
TInt iMenuTitleResourceId
CArrayFixFlat< SPosition > *iPastMenuPosArray
TBool iPreventFepMenu
TInt iSelectedTitle
CTitleArray *iTitleArray
Inherited Attributes
CCoeControl::iCoeEnv
CCoeControl::iContext
CCoeControl::iPosition
CCoeControl::iSize
CEikBorderedControl::iBorder

Constructor & Destructor Documentation

CEikMenuBar()

IMPORT_CCEikMenuBar()

C++ default constructor.

~CEikMenuBar()

IMPORT_C~CEikMenuBar()

Destructor.

Member Functions Documentation

AddFEPMenuL()

voidAddFEPMenuL()[private]

AddMenuIfNotPresentL(TInt)

voidAddMenuIfNotPresentL(TIntaResourceId)[private]

Parameters

TInt aResourceId

ChangeMenuBarL(TInt, TInt, TInt)

IMPORT_C voidChangeMenuBarL(TIntaHotKeyResourceId = 0,
TIntaMenuTitleResourceId = 0,
TIntaDisplayNow = ETrue
)

Not implemented

Parameters

TInt aHotKeyResourceId = 0Not used.
TInt aMenuTitleResourceId = 0Not used.
TInt aDisplayNow = ETrueNot used.

CloseState()

voidCloseState()[private]

ConstructFromResourceL(TResourceReader &)

IMPORT_C voidConstructFromResourceL(TResourceReader &aReader)[virtual]

Second phase constructor for a menu bar which builds the menu bar from the given resource file.

Parameters

TResourceReader & aReaderThe resource reader.

ConstructL(MEikMenuObserver *, TInt, TInt)

IMPORT_C voidConstructL(MEikMenuObserver *aMenuObserver,
TIntaHotKeyResourceId = 0,
TIntaMenuTitleResourceId = 0
)

Second phase constructor for a menu bar.

Parameters

MEikMenuObserver * aMenuObserverThe menu's observer.
TInt aHotKeyResourceId = 0The ID of the resource, of type HOTKEY from which the hotkey table is created. This is optional. By default it's nil.
TInt aMenuTitleResourceId = 0The ID of the resource, of type MENU_BAR from which the menu title array is created. This is optional. By default it's nil.

CreateTitleArrayL()

voidCreateTitleArrayL()[private]

Draw(const TRect &)

IMPORT_C voidDraw(const TRect &aRect)const [virtual]

From CCoeControl

Not implemented.

Parameters

const TRect & aRect

DrawItem(TInt)

IMPORT_C voidDrawItem(TIntaItem)const

Not implemented.

Parameters

TInt aItemNot used.

ExtensionInterface(TUid)

IMPORT_C void *ExtensionInterface(TUidaInterface)[private, virtual]

Parameters

TUid aInterface

FindCommandIdInResourceL(TInt, TInt &, TInt &)

IMPORT_C voidFindCommandIdInResourceL(TIntaCommandId,
TInt &aPaneindex,
TInt &aItemindex
)[virtual]

Searches for the menu item that corresponds to the specified command.

Parameters

TInt aCommandIdThe ID to search for.
TInt & aPaneindexMenu pane index.
TInt & aItemindexMenu item index.

GetColorUseListL(CArrayFix< TCoeColorUse > &)

IMPORT_C voidGetColorUseListL(CArrayFix< TCoeColorUse > &aColorUseList)const [virtual]

From CCoeControl.

Gets the list of logical colours used to draw the control.

The list includes an explanation of how each colour is used. By default, this function has an empty implementation.

5.1 SDK.

Parameters

CArrayFix< TCoeColorUse > & aColorUseListThe colour list.

GetMenuType()

IMPORT_C CEikMenuBar::TMenuTypeGetMenuType()const

Gets type of the menu.

S60 5.2

the type defined in CEikMenuBar::TMenuType of menu.

HandlePointerEventL(const TPointerEvent &)

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

From CCoeControl

Handles pointer events. This function gets called whenever a pointer event occurs in the control, i.e. when the pointer is within the control's extent, or when the control has grabbed the pointer. The control should implement this function to handle pointer events.

Note: events of type EButton1Down are processed before HandlePointerEventL() is called, in order to transfer keyboard focus to the control in which the EButton1Down event occurred.

If overriding HandlePointerEventL(), the implementation must include a base call to CCoeControl's HandlePointerEventL().

Parameters

const TPointerEvent & aPointerEventThe pointer event.

HandleResourceChange(TInt)

IMPORT_C voidHandleResourceChange(TIntaType)[virtual]

From CCoeControl.

Handles a change to the control's resources.

The types of resources handled are those which are shared across the environment, e.g. colours or fonts.

5.1 SDK.

Parameters

TInt aTypeA message UID value. The most common is KEikMessageColorSchemeChange which controls get when the colour scheme is changed. Other examples include: KEikMessageFadeAllWindows, KEikMessageUnfadeWindows, KEikMessageZoomChange, KEikMessageVirtualCursorStateChange, KEikMessageCapsLock, KEikMessagePrepareForSave.

HideMenuPane()

voidHideMenuPane()[private]

HotKeyTable()

CEikHotKeyTable *HotKeyTable()const [inline]

Gets a pointer to the menu s hot key table.

InputCapabilities()

IMPORT_C TCoeInputCapabilitiesInputCapabilities()const [private, virtual]

IsDisplayed()

IMPORT_C TBoolIsDisplayed()

Allows the client to determine if the menubar instance is displayed.

Etrue if displayed and EFalse if not.

ItemActionMenu()

CAknItemActionMenu *ItemActionMenu()const

Provides pointer to item action menu.

ItemSpecificCommandsEnabled()

IMPORT_C TBoolItemSpecificCommandsEnabled()const

Returns ETrue when item specific commands are enabled in menu bar (main pane collection has a highlight) and EFalse when they are disabled (main pane collection does not have a highlight).

S60 5.2

ETrue when item specific commands are enabled.

MenuHasItems()

TBool MenuHasItems()const [private]

MenuHasPane()

TBool MenuHasPane()const [private]

MenuPane()

IMPORT_C CEikMenuPane *MenuPane()

Gets a menu pane resource.

The pointer to CEikMenuPane object containing a menu pane resource.

MopSupplyObject(TTypeUid)

TTypeUid::Ptr MopSupplyObject(TTypeUidaId)[private]

Parameters

TTypeUid aId

MoveHighlightToL(TInt, TInt)

IMPORT_C voidMoveHighlightToL(TIntaNewSelectedTitle,
TIntaNewSelectedItem = 0
)

Not implemented.

Parameters

TInt aNewSelectedTitleNot used
TInt aNewSelectedItem = 0Not used.

OfferKeyEventL(const TKeyEvent &, TEventCode)

IMPORT_C TKeyResponseOfferKeyEventL(const TKeyEvent &aKeyEvent,
TEventCodeaType
)[virtual]

From CCoeControl

Handles key events offered to the menu by the control environment and provides an appropriate implementation of CCoeControl::OfferKeyEventL().

Indicates whether or not the key event was used by this control.

Parameters

const TKeyEvent & aKeyEventThe key event.
TEventCode aTypeThe type of key event: EEventKey, EEventKeyUp or EEventKeyDown.

PopulateItemActionMenuL(CAknItemActionMenu &)

CEikMenuPane *PopulateItemActionMenuL(CAknItemActionMenu &aItemActionMenu)

Populates item action menu.

Parameters

CAknItemActionMenu & aItemActionMenu

ProcessCommandL(TInt)

voidProcessCommandL(TIntaCommandId)[private]

Parameters

TInt aCommandId

ReduceRect(TRect &)

IMPORT_C voidReduceRect(TRect &aRect)const

If the menu bar is visible, removes the menu bar height from the top of aRect and returns the new rectangle in a new value of aRect.

Parameters

TRect & aRectA rectangle that on return is reduced in height by the height of the menu bar.

RemoveEditMenuObserver(MEikMenuObserver *)

IMPORT_C voidRemoveEditMenuObserver(MEikMenuObserver *aEditMenuObserver)

Sets the menu observer interface to NULL.

Parameters

MEikMenuObserver * aEditMenuObserverMenu observer interface that will be set to NULL.

Reserved_1()

IMPORT_C voidReserved_1()[private]

Reserved_2()

IMPORT_C voidReserved_2()[private, virtual]

ResetTitleArray()

voidResetTitleArray()[private]

SaveCurrentMenuPositionL()

voidSaveCurrentMenuPositionL()[private]

SelectedItem()

IMPORT_C TIntSelectedItem()

Gets the index of the menu item selected by the cursor.

The index of the selected menu item.

SelectedTitle()

IMPORT_C TIntSelectedTitle()

Gets the index of the menu pane selected by the cursor.

The index of the selected menu pane.

SetContextMenuTitleResourceId(TInt)

IMPORT_C voidSetContextMenuTitleResourceId(TIntaMenuTitleResourceId)

Parameters

TInt aMenuTitleResourceId

SetCursorPositionFromArray()

voidSetCursorPositionFromArray()[private]

SetEditMenuObserver(MEikMenuObserver *)

IMPORT_C voidSetEditMenuObserver(MEikMenuObserver *aEditMenuObserver)

Sets menu observer interface.

Parameters

MEikMenuObserver * aEditMenuObserverMenu observer interface.

SetHotKeyTable(CEikHotKeyTable *)

IMPORT_C CEikHotKeyTable *SetHotKeyTable(CEikHotKeyTable *aHotKeyTable)

Not implemented!

NULL.

Parameters

CEikHotKeyTable * aHotKeyTableNot used.

SetItemActionMenu(CAknItemActionMenu *)

voidSetItemActionMenu(CAknItemActionMenu *aItemActionMenu)

Sets item action menu instance to menu bar.

Parameters

CAknItemActionMenu * aItemActionMenu

SetMenuCursor(const SCursor &)

IMPORT_C SCursorSetMenuCursor(const SCursor &aCursor)

Sets the cursor to the specifed menu pane and menu item.

A SCursor structure holding the menu item within the menu pane.

Parameters

const SCursor & aCursorThe menu pane and menu item to which the cursor is set.

SetMenuHasItems()

voidSetMenuHasItems()[private]

SetMenuHasPane()

voidSetMenuHasPane()[private]

SetMenuPaneFlag(TInt)

voidSetMenuPaneFlag(TIntaFlag)[private]

Parameters

TInt aFlag

SetMenuTitleArray(CTitleArray *)

IMPORT_C voidSetMenuTitleArray(CTitleArray *aTitleArray)

Not implemented.

Parameters

CTitleArray * aTitleArrayNot used.

SetMenuTitleResourceId(TInt)

IMPORT_C voidSetMenuTitleResourceId(TIntaMenuTitleResourceId)

Sets the menu s resource ID.

Parameters

TInt aMenuTitleResourceIdThe ID of the resource to use.

SetMenuType(TMenuType)

IMPORT_C voidSetMenuType(TMenuTypeaMenuType)

Sets type of the menu. Menu can be for example Options menu launched from Options softkey or context sensitive menu launched from the selection key. By default the launched menu is options menu. S60 3.1

Parameters

TMenuType aMenuTypeOne of values of CEikMenuBar::TMenuType enumeration.

SetTitleArrayOwnedExternally(TBool)

IMPORT_C voidSetTitleArrayOwnedExternally(TBoolaOwnedExternally)

Not implemented.

Parameters

TBool aOwnedExternallyNot used.

StartDisplayingMenuBarL()

voidStartDisplayingMenuBarL()[private]

StopDisplayingMenuBar()

IMPORT_C voidStopDisplayingMenuBar()

Stops displaying the menu bar.

This function causes the menu bar to disappear from the screen until it is invoked again by the user. In most circumstances this is done by the Uikon framework, so an application program will not normally need to use this function.

TitleArray()

IMPORT_C CTitleArray *TitleArray()

Gets array of information about the menu bar titles.

Pointer to CTitleArray object containing array of information about menu bar titles.

TitleArrayOwnedExternally()

TBool TitleArrayOwnedExternally()const [private]

TryDisplayContextMenuBarL()

IMPORT_C voidTryDisplayContextMenuBarL()

TryDisplayMenuBarL()

IMPORT_C voidTryDisplayMenuBarL()

Displays the menu bar.

If the menu is not already displayed, this function displays the menu bar and allows the user to make a selection. In most circumstances this is done by the Uikon framework, so an application program will not normally need to use this function.

TryDisplayMenuBarWithoutFepMenusL()

IMPORT_C voidTryDisplayMenuBarWithoutFepMenusL()

If the menu is not already displayed, this function displays the menu bar without fep menu and allows the user to make a selection. In most circumstances this is done by the Uikon framework, so an application program will not normally need to use this function.

UpdateTitleTextBaseline()

voidUpdateTitleTextBaseline()[private]

Member Enumerations Documentation

Enum TEikMenuFlags

Enumerators

ETitleArrayOwnedExternally = 0x01
EMenuHasItems = 0x02
EMenuHasPane = 0x04
EBackgroundFaded = 0x08
ESoundsInstalled = 0x10

Enum TMenuType

Enumerators

EMenuOptions = 0

Options menu launched from the Options softkey. This is the default value.

EMenuContext = 1

Context sensitive menu that is launched from selection key when the application supports it.

EMenuEdit = 2

Edit menu containing editing specific items.

EMenuOptionsNoTaskSwapper = 3

Options menu launched from the Options softkey. Task swapper item is not shown.

Member Data Documentation

MEikMenuObserver * iActiveEditMenuObserver

MEikMenuObserver *iActiveEditMenuObserver[private]

TInt iBaseLine

TInt iBaseLine[private]

SCursor iCursor

SCursor iCursor[private]

MEikMenuObserver * iEditMenuObserver

MEikMenuObserver *iEditMenuObserver[private]

CEikMenuBarExtension * iExt

CEikMenuBarExtension *iExt[private]

CEikHotKeyTable * iHotKeyTable

CEikHotKeyTable *iHotKeyTable[private]

CEikButtonGroupContainer * iMenuCba

CEikButtonGroupContainer *iMenuCba[private]

TInt iMenuFlags

TInt iMenuFlags[private]

TInt iMenuHotKeyResourceId

TInt iMenuHotKeyResourceId[private]

MEikMenuObserver * iMenuObserver

MEikMenuObserver *iMenuObserver[private]

CEikMenuPane * iMenuPane

CEikMenuPane *iMenuPane[private]

TInt iMenuPaneResourceId

TInt iMenuPaneResourceId[private]

TInt iMenuTitleLeftSpace

TInt iMenuTitleLeftSpace[private]

TInt iMenuTitleResourceId

TInt iMenuTitleResourceId[private]

CArrayFixFlat< SPosition > * iPastMenuPosArray

CArrayFixFlat< SPosition > *iPastMenuPosArray[private]

TBool iPreventFepMenu

TBool iPreventFepMenu[private]

TInt iSelectedTitle

TInt iSelectedTitle[private]

CTitleArray * iTitleArray

CTitleArray *iTitleArray[private]