Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: eikmenub.h
Link against: eikcoctl.lib

Class CEikMenuPaneTitle

CEikMenuPaneTitle

Support

Supported from 6.0

Description

This class is not intended to be used by application programmers. It is documented only for completeness.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CCoeControlControl base class from which all other controls are derived
CEikBorderedControlA control which is drawn surrounded by a rectangular border
CEikMenuPaneTitleThis class is not intended to be used by application programmers

Defined in CEikMenuPaneTitle:
CEikMenuPaneTitle(), Close(), ConstructL(), Draw(), GetColorUseListL(), HandlePointerEventL(), HandleResourceChange(), Margins(), SetSelectedTitle()

Inherited from CBase:
operator new()

Inherited from CCoeControl:
ActivateGc(), ActivateL(), BackedUpWindow(), CapturesPointer(), ClaimPointerGrab(), CloseWindow(), ComponentControl(), ConstructFromResourceL(), ControlContext(), ControlEnv(), CopyControlContextFrom(), CountComponentControls(), CreateBackedUpWindowL(), CreateWindowL(), DeactivateGc(), DrawDeferred(), DrawNow(), DrawableWindow(), EnableDragEvents(), FocusChanged(), GetColor(), GetHelpContext(), GrabbingComponent(), HandleComponentControlsResourceChange(), HandlePointerBufferReadyL(), HandleRedrawEvent(), IgnoreEventsUntilNextPointerUp(), Index(), InputCapabilities(), IsActivated(), IsBackedUp(), IsBeingDestroyed(), IsBlank(), IsDimmed(), IsFocused(), IsNonFocusing(), IsReadyToDraw(), IsVisible(), MakeVisible(), MinimumSize(), Observer(), OfferKeyEventL(), OverrideColorL(), OwnsWindow(), Position(), PositionChanged(), PositionRelativeToScreen(), PrepareForFocusGainL(), PrepareForFocusLossL(), Rect(), RecursivelyMergedInputCapabilities(), ReportEventL(), ResetGc(), SetAllowStrayPointers(), SetBlank(), SetCanDrawOutsideRect(), SetComponentsToInheritVisibility(), SetContainerWindow(), SetContainerWindowL(), SetControlContext(), SetCornerAndSize(), SetCornerAndSizeL(), SetDimmed(), SetExtent(), SetExtentL(), SetExtentToWholeScreen(), SetExtentToWholeScreenL(), SetFocus(), SetFocusing(), SetGloballyCapturing(), SetNeighbor(), SetNonFocusing(), SetObserver(), SetPointerCapture(), SetPosition(), SetRect(), SetRectL(), SetSize(), SetSizeL(), SetSizeWithoutNotification(), SetSizeWithoutNotificationL(), Size(), SizeChanged(), SizeChangedL(), SystemGc(), Window()

Inherited from CEikBorderedControl:
Border(), HasBorder(), SetAdjacent(), SetBorder(), iBorder


Member functions


CEikMenuPaneTitle()

CEikMenuPaneTitle(CEikMenuBar* aMenuBar);

Description

Constructs a title for the specified menu bar. Use ConstructL() to complete construction.

Parameters

CEikMenuBar* aMenuBar

The menu bar for which the title is constructed.


ConstructL()

void ConstructL();

Description

Completes construction of the menu bar title.


Close()

void Close();

Description

Closes the menu pane title window.


Draw()

void Draw(const TRect&) const;

Description

Draws the menu pane title.

Parameters

const TRect&

Optional. The rectangle in which to draw the title.


GetColorUseListL()

virtual void GetColorUseListL(CArrayFix<TCoeColorUse>& aColorUseList) const;

Description

Gets the list of logical colors used to draw the control, together with an explanation of how they are used. Appends the list to aColorUseList.

Parameters

CArrayFix<TCoeColorUse>& aColorUseList

List of logical colors.


HandlePointerEventL()

void HandlePointerEventL(const TPointerEvent& aPointerEvent);

Description

Handles a pointer event that occurrs on the menu pane title.

Parameters

const TPointerEvent& aPointerEvent

The pointer event to handle.


HandleResourceChange()

virtual void HandleResourceChange(TInt aType);

Description

Handles a change to the menu pane title's resources which are shared across the environment. For example, colors or fonts.

Parameters

TInt aType

A message UID value. The most common is KEikMessageColorSchemeChange which controls get when the colour scheme is changed.


Margins()

TMargins Margins() const;

Description

Gets the menu pane title’s margins.

Return value

TMargins

The menu pane title’s margins.


SetSelectedTitle()

void SetSelectedTitle(TInt aSelectedTitle);

Description

Sets the menu pane title.

Parameters

TInt aSelectedTitle

The ID of the required title.