CCoeControl Class Reference

class CCoeControl : public CBase

Control base class from which all other controls are derived.

Inherits from

Public Member Functions
CCoeControl()
CCoeControl(CCoeEnv *)
~CCoeControl()
IMPORT_C TZoomFactorAccumulatedZoom()
IMPORT_C voidActivateL()
IMPORT_C const MCoeControlBackground *Background()
IMPORT_C voidClaimPointerGrab(TBool)
IMPORT_C TIntClaimPointerGrab(TInt, TBool)
IMPORT_C TBoolComponentArrayExists()
IMPORT_C CCoeControl *ComponentControl(TInt)
IMPORT_C voidConstructFromResourceL(TResourceReader &)
IMPORT_C MCoeControlContext *ControlContext()
CCoeEnv *ControlEnv()
IMPORT_C voidCopyControlContextFrom(const CCoeControl *)
IMPORT_C TIntCountComponentControls()
IMPORT_C CWindowGc *CustomGc()
IMPORT_C voidDrawBackground(const TRect &)
IMPORT_C voidDrawDeferred()
IMPORT_C voidDrawForeground(const TRect &)
IMPORT_C voidDrawNow()
IMPORT_C voidDrawNow(const TRect &)
IMPORT_C RDrawableWindow *DrawableWindow()
IMPORT_C voidEnableReportControlStateChange(TBool)
IMPORT_C const MCoeControlBackground *FindBackground()
IMPORT_C const CCoeFontProvider &FindFontProvider()
IMPORT_C TBoolGetColor(TInt, TRgb &)
IMPORT_C voidGetColorUseListL(CArrayFix< TCoeColorUse > &)
CWindowGc *GetGc()
IMPORT_C voidGetHelpContext(TCoeHelpContext &)
IMPORT_C voidHandlePointerEventL(const TPointerEvent &)
IMPORT_C voidHandleResourceChange(TInt)
IMPORT_C TBoolHasBorder()
IMPORT_C const MCoeControlHitTest *HitTest()
IMPORT_C voidIgnoreEventsUntilNextPointerUp()
IMPORT_C TIntIndex(const CCoeControl *)
IMPORT_C TCoeInputCapabilitiesInputCapabilities()
IMPORT_C TBoolIsBackedUp()
IMPORT_C TBoolIsDimmed()
IMPORT_C TBoolIsFocused()
IMPORT_C TBoolIsNonFocusing()
IMPORT_C TBoolIsVisible()
IMPORT_C MCoeLayoutManager *LayoutManager()
IMPORT_C voidMakeVisible(TBool)
IMPORT_C TIntMaximumWidth()
IMPORT_C TSizeMinimumSize()
voidNotifyFontChange(const CCoeFontProvider *)
IMPORT_C MCoeControlObserver *Observer()
IMPORT_C TKeyResponseOfferKeyEventL(const TKeyEvent &, TEventCode)
IMPORT_C voidOverrideColorL(TInt, TRgb)
IMPORT_C TBoolOwnsWindow()
IMPORT_C CCoeControl *Parent()
IMPORT_C const CCoeControl *Parent()
IMPORT_C TPointPosition()
IMPORT_C TPointPositionRelativeToScreen()
IMPORT_C voidPrepareForFocusGainL()
IMPORT_C voidPrepareForFocusLossL()
voidProcessPointerBufferReadyL()
voidProcessPointerEventL(const TPointerEvent &)
IMPORT_C TRectRect()
voidRecursivelyMergeInputCapabilities(TCoeInputCapabilities &)
IMPORT_C TCoeInputCapabilitiesRecursivelyMergedInputCapabilities()
voidRefetchPixelMappingL()
voidRemoveFromParent()
IMPORT_C TBoolRequestRelayout(const CCoeControl *)
IMPORT_C voidSetAdjacent(TInt)
IMPORT_C voidSetBackground(const MCoeControlBackground *)
IMPORT_C voidSetComponentsToInheritVisibility(TBool)
IMPORT_C voidSetContainerWindowL(const CCoeControl &)
IMPORT_C voidSetContainerWindowL(RWindow &)
IMPORT_C voidSetContainerWindowL(RBackedUpWindow &)
IMPORT_C voidSetControlContext(MCoeControlContext *)
IMPORT_C TIntSetCustomGc(CWindowGc *)
IMPORT_C voidSetDimmed(TBool)
IMPORT_C voidSetExtent(const TPoint &, const TSize &)
IMPORT_C voidSetExtentToWholeScreen()
IMPORT_C voidSetFocus(TBool, TDrawNow)
IMPORT_C voidSetFocusing(TBool)
IMPORT_C voidSetFontProviderL(const CCoeFontProvider &)
TInt SetGc(CWindowGc *)
IMPORT_C voidSetGloballyCapturing(TBool)
IMPORT_C TIntSetHitTest(const MCoeControlHitTest *)
IMPORT_C voidSetLayoutManagerL(MCoeLayoutManager *)
IMPORT_C TIntSetMaximumWidth(TInt)
IMPORT_C voidSetMopParent(MObjectProvider *)
IMPORT_C voidSetNeighbor(CCoeControl *)
IMPORT_C voidSetNonFocusing()
IMPORT_C voidSetObserver(MCoeControlObserver *)
IMPORT_C TIntSetParent(CCoeControl *)
IMPORT_C voidSetPointerCapture(TBool)
IMPORT_C voidSetPosition(const TPoint &)
IMPORT_C voidSetRect(const TRect &)
IMPORT_C voidSetSize(const TSize &)
IMPORT_C voidSetTextBaselineSpacing(TInt)
IMPORT_C TIntSetUniqueHandle(TInt)
IMPORT_C voidSetZoomFactorL(TInt, TZoomType)
IMPORT_C TSizeSize()
IMPORT_C CWindowGc &SystemGc()
IMPORT_C TIntTextBaselineOffset(const TSize &)
IMPORT_C TIntUniqueHandle()
voidWriteInternalStateNowL(RWriteStream &)
IMPORT_C const TCoeZoomWithType *ZoomWithType()
Protected Member Functions
CCoeControl(const CCoeControl &)
IMPORT_C voidActivateGc()
IMPORT_C RBackedUpWindow &BackedUpWindow()
IMPORT_C TBoolCapturesPointer()
IMPORT_C voidCloseWindow()
IMPORT_C CCoeControlArray &Components()
IMPORT_C const CCoeControlArray &Components()
IMPORT_C voidCreateBackedUpWindowL(RWindowTreeNode &)
IMPORT_C voidCreateBackedUpWindowL(RWindowTreeNode &, TDisplayMode)
IMPORT_C voidCreateWindowL()
IMPORT_C voidCreateWindowL(const CCoeControl *)
IMPORT_C voidCreateWindowL(RWindowTreeNode &)
IMPORT_C voidCreateWindowL(RWindowGroup *)
IMPORT_C voidDeactivateGc()
IMPORT_C voidEnableDragEvents()
IMPORT_C voidEnableWindowTransparency()
IMPORT_C voidFocusChanged(TDrawNow)
IMPORT_C CCoeControl *GrabbingComponent()
IMPORT_C CCoeControl *GrabbingComponent(TInt)
IMPORT_C voidHandleComponentControlsResourceChange(TInt)
IMPORT_C voidHandleControlArrayEventL(CCoeControlArray::TEvent, const CCoeControlArray *, CCoeControl *, TInt)
IMPORT_C voidHandlePointerBufferReadyL()
IMPORT_C voidHandleRedrawEvent(const TRect &)
IMPORT_C voidInitComponentArrayL()
IMPORT_C TBoolIsActivated()
IMPORT_C TBoolIsBeingDestroyed()
IMPORT_C TBoolIsBlank()
IMPORT_C TBoolIsReadyToDraw()
IMPORT_C TTypeUid::PtrMopSupplyObject(TTypeUid)
IMPORT_C voidPositionChanged()
IMPORT_C voidReportEventL(MCoeControlObserver::TCoeEvent)
IMPORT_C voidResetGc()
IMPORT_C const CFont &ScreenFont(const TCoeFont &)
IMPORT_C voidSetAllowStrayPointers()
IMPORT_C voidSetBlank()
IMPORT_C voidSetCanDrawOutsideRect()
IMPORT_C voidSetCornerAndSize(TGulAlignment, const TSize &)
IMPORT_C voidSetSizeWithoutNotification(const TSize &)
IMPORT_C voidSizeChanged()
IMPORT_C CCoeTextDrawerBase &TextDrawer(TInt)
IMPORT_C RWindow &Window()
IMPORT_C voidWriteInternalStateL(RWriteStream &)
CCoeControl &operator=(const CCoeControl &)
Private Member Functions
voidActivateGcRecursive()
voidCheckPointerEventPurge()
voidConstructor(CCoeEnv *)
voidControlClaimPointerGrab(TInt)
voidDeactivateGcRecursive()
voidDoMakeVisible(TBool)
IMPORT_C voidDraw(const TRect &)
voidDrawComponents(const TRect &)
voidDrawWindowOwningComponentsNow()
voidDrawWindowOwningComponentsNow(const TRect &)
TInt FindColor(TInt)
const CCoeFontProvider *GetFontProvider()
IMPORT_C voidGetTextDrawer(CCoeTextDrawerBase *&, const CCoeControl *, TInt)
TCoeZoomWithType *GetZoomWithType()
TBool IsGrabbed(TInt)
IMPORT_C MObjectProvider *MopNext()
voidRecursivelyMergeTextDrawers(CCoeTextDrawerBase *&, const CCoeControl *, TInt)
voidReportControlStateChange(MCoeControlStateObserver::TCoeState)
IMPORT_C voidReserved_2()
IMPORT_C voidReserved_CCoeControl_10()
IMPORT_C voidReserved_CCoeControl_11()
IMPORT_C voidReserved_CCoeControl_12()
IMPORT_C voidReserved_CCoeControl_13()
IMPORT_C voidReserved_CCoeControl_8()
IMPORT_C voidReserved_CCoeControl_9()
const CCoeControl *SearchParent(const CCoeControl *)
TInt SetFontProvider(const CCoeFontProvider *)
voidSetGrabbed(TBool, TInt)
TInt SetZoomWithType(TCoeZoomWithType *)
TInt ValidateAdvancedPointerNumber(const TPointerEvent &)
CCoeControl *WindowOwningParent()
const CCoeControl *WindowOwningParent()
Inherited Functions
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()
Public Member Enumerations
enumTZoomType { EAbsoluteZoom, ERelativeZoom }
Protected Attributes
CCoeEnv *iCoeEnv
MCoeControlContext *iContext
TPoint iPosition
TSize iSize
Private Attributes
CCoeControlStorage *iData
TInt iFlags
MObjectProvider *iMopParent
RDrawableWindow *iWin

Constructor & Destructor Documentation

CCoeControl()

IMPORT_CCCoeControl()

CCoeControl(CCoeEnv *)

IMPORT_CCCoeControl(CCoeEnv *aCoeEnv)

Parameters

CCoeEnv * aCoeEnv

CCoeControl(const CCoeControl &)

CCoeControl(const CCoeControl &aControl)[protected, inline]

Parameters

const CCoeControl & aControl

~CCoeControl()

IMPORT_C~CCoeControl()

Member Functions Documentation

AccumulatedZoom()

IMPORT_C TZoomFactorAccumulatedZoom()const

ActivateGc()

IMPORT_C voidActivateGc()const [protected]

ActivateGcRecursive()

voidActivateGcRecursive()const [private]

ActivateL()

IMPORT_C voidActivateL()[virtual]

BackedUpWindow()

IMPORT_C RBackedUpWindow &BackedUpWindow()const [protected]

Background()

IMPORT_C const MCoeControlBackground *Background()const

CapturesPointer()

IMPORT_C TBoolCapturesPointer()const [protected]

CheckPointerEventPurge()

voidCheckPointerEventPurge()const [private]

ClaimPointerGrab(TBool)

IMPORT_C voidClaimPointerGrab(TBoolaSendUpEvent = ETrue)

Parameters

TBool aSendUpEvent = ETrue

ClaimPointerGrab(TInt, TBool)

IMPORT_C TIntClaimPointerGrab(TIntaPointerNumber,
TBoolaSendUpEvent
)

Parameters

TInt aPointerNumber
TBool aSendUpEvent

CloseWindow()

IMPORT_C voidCloseWindow()[protected]

ComponentArrayExists()

IMPORT_C TBoolComponentArrayExists()const

ComponentControl(TInt)

IMPORT_C CCoeControl *ComponentControl(TIntaIndex)const [virtual]

Parameters

TInt aIndex

Components()

IMPORT_C CCoeControlArray &Components()[protected]

Components()

IMPORT_C const CCoeControlArray &Components()const [protected]

ConstructFromResourceL(TResourceReader &)

IMPORT_C voidConstructFromResourceL(TResourceReader &aReader)[virtual]

Parameters

TResourceReader & aReader

Constructor(CCoeEnv *)

voidConstructor(CCoeEnv *aCoeEnv)[private]

Parameters

CCoeEnv * aCoeEnv

ControlClaimPointerGrab(TInt)

voidControlClaimPointerGrab(TIntaPointerNumber)[private]

Parameters

TInt aPointerNumber

ControlContext()

IMPORT_C MCoeControlContext *ControlContext()const

ControlEnv()

CCoeEnv *ControlEnv()const [inline]

Gets the control environment object for this control.

The control's control environment object.

CopyControlContextFrom(const CCoeControl *)

IMPORT_C voidCopyControlContextFrom(const CCoeControl *aControl)

Parameters

const CCoeControl * aControl

CountComponentControls()

IMPORT_C TIntCountComponentControls()const [virtual]

CreateBackedUpWindowL(RWindowTreeNode &)

IMPORT_C voidCreateBackedUpWindowL(RWindowTreeNode &aParent)[protected]

Parameters

RWindowTreeNode & aParent

CreateBackedUpWindowL(RWindowTreeNode &, TDisplayMode)

IMPORT_C voidCreateBackedUpWindowL(RWindowTreeNode &aParent,
TDisplayModeaDisplayMode
)[protected]

Parameters

RWindowTreeNode & aParent
TDisplayMode aDisplayMode

CreateWindowL()

IMPORT_C voidCreateWindowL()[protected]

CreateWindowL(const CCoeControl *)

IMPORT_C voidCreateWindowL(const CCoeControl *aParent)[protected]

Parameters

const CCoeControl * aParent

CreateWindowL(RWindowTreeNode &)

IMPORT_C voidCreateWindowL(RWindowTreeNode &aParent)[protected]

Parameters

RWindowTreeNode & aParent

CreateWindowL(RWindowGroup *)

IMPORT_C voidCreateWindowL(RWindowGroup *aParent)[protected]

Parameters

RWindowGroup * aParent

CustomGc()

IMPORT_C CWindowGc *CustomGc()const

DeactivateGc()

IMPORT_C voidDeactivateGc()const [protected]

DeactivateGcRecursive()

voidDeactivateGcRecursive()const [private]

DoMakeVisible(TBool)

voidDoMakeVisible(TBoolaVisible)[private]

Parameters

TBool aVisible

Draw(const TRect &)

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

Parameters

const TRect & aRect

DrawBackground(const TRect &)

IMPORT_C voidDrawBackground(const TRect &aRect)const

Parameters

const TRect & aRect

DrawComponents(const TRect &)

voidDrawComponents(const TRect &aRect)const [private]

Parameters

const TRect & aRect

DrawDeferred()

IMPORT_C voidDrawDeferred()const

DrawForeground(const TRect &)

IMPORT_C voidDrawForeground(const TRect &aRect)const

Parameters

const TRect & aRect

DrawNow()

IMPORT_C voidDrawNow()const

DrawNow(const TRect &)

IMPORT_C voidDrawNow(const TRect &aRect)const

Parameters

const TRect & aRect

DrawWindowOwningComponentsNow()

voidDrawWindowOwningComponentsNow()const [private]

DrawWindowOwningComponentsNow(const TRect &)

voidDrawWindowOwningComponentsNow(const TRect &aRect)const [private]

Parameters

const TRect & aRect

DrawableWindow()

IMPORT_C RDrawableWindow *DrawableWindow()const

EnableDragEvents()

IMPORT_C voidEnableDragEvents()[protected]

EnableReportControlStateChange(TBool)

IMPORT_C voidEnableReportControlStateChange(TBoolaState)

Parameters

TBool aState

EnableWindowTransparency()

IMPORT_C voidEnableWindowTransparency()[protected]

FindBackground()

IMPORT_C const MCoeControlBackground *FindBackground()const

FindColor(TInt)

TInt FindColor(TIntaLogicalColor)const [private]

Parameters

TInt aLogicalColor

FindFontProvider()

IMPORT_C const CCoeFontProvider &FindFontProvider()const

FocusChanged(TDrawNow)

IMPORT_C voidFocusChanged(TDrawNowaDrawNow)[protected, virtual]

Parameters

TDrawNow aDrawNow

GetColor(TInt, TRgb &)

IMPORT_C TBoolGetColor(TIntaLogicalColor,
TRgb &aColor
)const

Parameters

TInt aLogicalColor
TRgb & aColor

GetColorUseListL(CArrayFix< TCoeColorUse > &)

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

Parameters

CArrayFix< TCoeColorUse > & aColorUseList

GetFontProvider()

const CCoeFontProvider *GetFontProvider()const [private]

GetGc()

CWindowGc *GetGc()const [inline]

Deprecated. See CCoeControl::CustomGc().

GetHelpContext(TCoeHelpContext &)

IMPORT_C voidGetHelpContext(TCoeHelpContext &aContext)const [virtual]

Parameters

TCoeHelpContext & aContext

GetTextDrawer(CCoeTextDrawerBase *&, const CCoeControl *, TInt)

IMPORT_C voidGetTextDrawer(CCoeTextDrawerBase *&aTextDrawer,
const CCoeControl *aDrawingControl,
TIntaKey
)const [private, virtual]

Parameters

CCoeTextDrawerBase *& aTextDrawer
const CCoeControl * aDrawingControl
TInt aKey

GetZoomWithType()

TCoeZoomWithType *GetZoomWithType()const [private]

GrabbingComponent()

IMPORT_C CCoeControl *GrabbingComponent()const [protected]

GrabbingComponent(TInt)

IMPORT_C CCoeControl *GrabbingComponent(TIntaPointer)const [protected]

Parameters

TInt aPointer

HandleComponentControlsResourceChange(TInt)

IMPORT_C voidHandleComponentControlsResourceChange(TIntaType)[protected]

Parameters

TInt aType

HandleControlArrayEventL(CCoeControlArray::TEvent, const CCoeControlArray *, CCoeControl *, TInt)

IMPORT_C voidHandleControlArrayEventL(CCoeControlArray::TEventaEvent,
const CCoeControlArray *aArray,
CCoeControl *aControl,
TIntaControlId
)[protected, virtual]

Parameters

CCoeControlArray::TEvent aEvent
const CCoeControlArray * aArray
CCoeControl * aControl
TInt aControlId

HandlePointerBufferReadyL()

IMPORT_C voidHandlePointerBufferReadyL()[protected, virtual]

HandlePointerEventL(const TPointerEvent &)

IMPORT_C voidHandlePointerEventL(const TPointerEvent &aPointerEvent)[virtual]

Parameters

const TPointerEvent & aPointerEvent

HandleRedrawEvent(const TRect &)

IMPORT_C voidHandleRedrawEvent(const TRect &aRect)const [protected]

Parameters

const TRect & aRect

HandleResourceChange(TInt)

IMPORT_C voidHandleResourceChange(TIntaType)[virtual]

Parameters

TInt aType

HasBorder()

IMPORT_C TBoolHasBorder()const [virtual]

HitTest()

IMPORT_C const MCoeControlHitTest *HitTest()const

IgnoreEventsUntilNextPointerUp()

IMPORT_C voidIgnoreEventsUntilNextPointerUp()

Index(const CCoeControl *)

IMPORT_C TIntIndex(const CCoeControl *aControl)const

Parameters

const CCoeControl * aControl

InitComponentArrayL()

IMPORT_C voidInitComponentArrayL()[protected]

InputCapabilities()

IMPORT_C TCoeInputCapabilitiesInputCapabilities()const [virtual]

IsActivated()

IMPORT_C TBoolIsActivated()const [protected]

IsBackedUp()

IMPORT_C TBoolIsBackedUp()const

IsBeingDestroyed()

IMPORT_C TBoolIsBeingDestroyed()const [protected]

IsBlank()

IMPORT_C TBoolIsBlank()const [protected]

IsDimmed()

IMPORT_C TBoolIsDimmed()const

IsFocused()

IMPORT_C TBoolIsFocused()const

IsGrabbed(TInt)

TBool IsGrabbed(TIntaPointerNumber = 0)const [private]

Parameters

TInt aPointerNumber = 0

IsNonFocusing()

IMPORT_C TBoolIsNonFocusing()const

IsReadyToDraw()

IMPORT_C TBoolIsReadyToDraw()const [protected]

IsVisible()

IMPORT_C TBoolIsVisible()const

LayoutManager()

IMPORT_C MCoeLayoutManager *LayoutManager()const

MakeVisible(TBool)

IMPORT_C voidMakeVisible(TBoolaVisible)[virtual]

Parameters

TBool aVisible

MaximumWidth()

IMPORT_C TIntMaximumWidth()const

MinimumSize()

IMPORT_C TSizeMinimumSize()[virtual]

MopNext()

IMPORT_C MObjectProvider *MopNext()[private]

MopSupplyObject(TTypeUid)

IMPORT_C TTypeUid::PtrMopSupplyObject(TTypeUidaId)[protected]

Parameters

TTypeUid aId

NotifyFontChange(const CCoeFontProvider *)

voidNotifyFontChange(const CCoeFontProvider *aFontProvider)

Parameters

const CCoeFontProvider * aFontProvider

Observer()

IMPORT_C MCoeControlObserver *Observer()const

OfferKeyEventL(const TKeyEvent &, TEventCode)

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

Parameters

const TKeyEvent & aKeyEvent
TEventCode aType

OverrideColorL(TInt, TRgb)

IMPORT_C voidOverrideColorL(TIntaLogicalColor,
TRgbaColor
)

Parameters

TInt aLogicalColor
TRgb aColor

OwnsWindow()

IMPORT_C TBoolOwnsWindow()const

Parent()

IMPORT_C CCoeControl *Parent()

Parent()

IMPORT_C const CCoeControl *Parent()const

Position()

IMPORT_C TPointPosition()const

PositionChanged()

IMPORT_C voidPositionChanged()[protected, virtual]

PositionRelativeToScreen()

IMPORT_C TPointPositionRelativeToScreen()const

PrepareForFocusGainL()

IMPORT_C voidPrepareForFocusGainL()[virtual]

PrepareForFocusLossL()

IMPORT_C voidPrepareForFocusLossL()[virtual]

ProcessPointerBufferReadyL()

voidProcessPointerBufferReadyL()

ProcessPointerEventL(const TPointerEvent &)

voidProcessPointerEventL(const TPointerEvent &aPointerEvent)

Parameters

const TPointerEvent & aPointerEvent

Rect()

IMPORT_C TRectRect()const

RecursivelyMergeInputCapabilities(TCoeInputCapabilities &)

voidRecursivelyMergeInputCapabilities(TCoeInputCapabilities &aInputCapabilities)const

Parameters

TCoeInputCapabilities & aInputCapabilities

RecursivelyMergeTextDrawers(CCoeTextDrawerBase *&, const CCoeControl *, TInt)

voidRecursivelyMergeTextDrawers(CCoeTextDrawerBase *&aTextDrawer,
const CCoeControl *aDrawingControl,
TIntaKey
)const [private]

Parameters

CCoeTextDrawerBase *& aTextDrawer
const CCoeControl * aDrawingControl
TInt aKey

RecursivelyMergedInputCapabilities()

IMPORT_C TCoeInputCapabilitiesRecursivelyMergedInputCapabilities()const

RefetchPixelMappingL()

voidRefetchPixelMappingL()

RemoveFromParent()

voidRemoveFromParent()

ReportControlStateChange(MCoeControlStateObserver::TCoeState)

voidReportControlStateChange(MCoeControlStateObserver::TCoeStateaType)[private]

ReportEventL(MCoeControlObserver::TCoeEvent)

IMPORT_C voidReportEventL(MCoeControlObserver::TCoeEventaEvent)[protected]

RequestRelayout(const CCoeControl *)

IMPORT_C TBoolRequestRelayout(const CCoeControl *aChildControl)[virtual]

Parameters

const CCoeControl * aChildControl

Reserved_2()

IMPORT_C voidReserved_2()[private, virtual]

Reserved_CCoeControl_10()

IMPORT_C voidReserved_CCoeControl_10()[private, virtual]

Reserved_CCoeControl_11()

IMPORT_C voidReserved_CCoeControl_11()[private, virtual]

Reserved_CCoeControl_12()

IMPORT_C voidReserved_CCoeControl_12()[private, virtual]

Reserved_CCoeControl_13()

IMPORT_C voidReserved_CCoeControl_13()[private, virtual]

Reserved_CCoeControl_8()

IMPORT_C voidReserved_CCoeControl_8()[private, virtual]

Reserved_CCoeControl_9()

IMPORT_C voidReserved_CCoeControl_9()[private, virtual]

ResetGc()

IMPORT_C voidResetGc()const [protected]

ScreenFont(const TCoeFont &)

IMPORT_C const CFont &ScreenFont(const TCoeFont &aFont)const [protected]

Parameters

const TCoeFont & aFont

SearchParent(const CCoeControl *)

const CCoeControl *SearchParent(const CCoeControl *aParentToFind)const [private]

Parameters

const CCoeControl * aParentToFind

SetAdjacent(TInt)

IMPORT_C voidSetAdjacent(TIntaAdjacent)[virtual]

Parameters

TInt aAdjacent

SetAllowStrayPointers()

IMPORT_C voidSetAllowStrayPointers()[protected]

SetBackground(const MCoeControlBackground *)

IMPORT_C voidSetBackground(const MCoeControlBackground *aBackground)

Parameters

const MCoeControlBackground * aBackground

SetBlank()

IMPORT_C voidSetBlank()[protected]

SetCanDrawOutsideRect()

IMPORT_C voidSetCanDrawOutsideRect()[protected]

SetComponentsToInheritVisibility(TBool)

IMPORT_C voidSetComponentsToInheritVisibility(TBoolaInherit = ETrue)

Parameters

TBool aInherit = ETrue

SetContainerWindowL(const CCoeControl &)

IMPORT_C voidSetContainerWindowL(const CCoeControl &aContainer)[virtual]

Parameters

const CCoeControl & aContainer

SetContainerWindowL(RWindow &)

IMPORT_C voidSetContainerWindowL(RWindow &aWindow)

Parameters

RWindow & aWindow

SetContainerWindowL(RBackedUpWindow &)

IMPORT_C voidSetContainerWindowL(RBackedUpWindow &aWindow)

Parameters

RBackedUpWindow & aWindow

SetControlContext(MCoeControlContext *)

IMPORT_C voidSetControlContext(MCoeControlContext *aContext)

Parameters

MCoeControlContext * aContext

SetCornerAndSize(TGulAlignment, const TSize &)

IMPORT_C voidSetCornerAndSize(TGulAlignmentaCorner,
const TSize &aSize
)[protected]

Parameters

TGulAlignment aCorner
const TSize & aSize

SetCustomGc(CWindowGc *)

IMPORT_C TIntSetCustomGc(CWindowGc *aGraphicsContext)

Parameters

CWindowGc * aGraphicsContext

SetDimmed(TBool)

IMPORT_C voidSetDimmed(TBoolaDimmed)[virtual]

Parameters

TBool aDimmed

SetExtent(const TPoint &, const TSize &)

IMPORT_C voidSetExtent(const TPoint &aPosition,
const TSize &aSize
)

Parameters

const TPoint & aPosition
const TSize & aSize

SetExtentToWholeScreen()

IMPORT_C voidSetExtentToWholeScreen()

SetFocus(TBool, TDrawNow)

IMPORT_C voidSetFocus(TBoolaFocus,
TDrawNowaDrawNow = ENoDrawNow
)

Parameters

TBool aFocus
TDrawNow aDrawNow = ENoDrawNow

SetFocusing(TBool)

IMPORT_C voidSetFocusing(TBoolaFocusing)

Parameters

TBool aFocusing

SetFontProvider(const CCoeFontProvider *)

TInt SetFontProvider(const CCoeFontProvider *aFontProvider)[private]

Parameters

const CCoeFontProvider * aFontProvider

SetFontProviderL(const CCoeFontProvider &)

IMPORT_C voidSetFontProviderL(const CCoeFontProvider &aFontProvider)

Parameters

const CCoeFontProvider & aFontProvider

SetGc(CWindowGc *)

TInt SetGc(CWindowGc *aGraphicsContext)const [inline]

Deprecated. See CCoeControl::SetCustomGc().

Parameters

CWindowGc * aGraphicsContext

SetGloballyCapturing(TBool)

IMPORT_C voidSetGloballyCapturing(TBoolaGlobal)

Parameters

TBool aGlobal

SetGrabbed(TBool, TInt)

voidSetGrabbed(TBoolaGrabbed,
TIntaPointerNumber
)[private]

Parameters

TBool aGrabbed
TInt aPointerNumber

SetHitTest(const MCoeControlHitTest *)

IMPORT_C TIntSetHitTest(const MCoeControlHitTest *aHitTestControl)

Parameters

const MCoeControlHitTest * aHitTestControl

SetLayoutManagerL(MCoeLayoutManager *)

IMPORT_C voidSetLayoutManagerL(MCoeLayoutManager *aLayout)[virtual]

Parameters

MCoeLayoutManager * aLayout

SetMaximumWidth(TInt)

IMPORT_C TIntSetMaximumWidth(TIntaMaxWidth)

Parameters

TInt aMaxWidth

SetMopParent(MObjectProvider *)

IMPORT_C voidSetMopParent(MObjectProvider *aParent)

Parameters

MObjectProvider * aParent

SetNeighbor(CCoeControl *)

IMPORT_C voidSetNeighbor(CCoeControl *aNeighbor)[virtual]

Parameters

CCoeControl * aNeighbor

SetNonFocusing()

IMPORT_C voidSetNonFocusing()

SetObserver(MCoeControlObserver *)

IMPORT_C voidSetObserver(MCoeControlObserver *aObserver)

Parameters

MCoeControlObserver * aObserver

SetParent(CCoeControl *)

IMPORT_C TIntSetParent(CCoeControl *aParent)[virtual]

Parameters

CCoeControl * aParent

SetPointerCapture(TBool)

IMPORT_C voidSetPointerCapture(TBoolaCapture = ETrue)

Parameters

TBool aCapture = ETrue

SetPosition(const TPoint &)

IMPORT_C voidSetPosition(const TPoint &aPosition)

Parameters

const TPoint & aPosition

SetRect(const TRect &)

IMPORT_C voidSetRect(const TRect &aRect)

Parameters

const TRect & aRect

SetSize(const TSize &)

IMPORT_C voidSetSize(const TSize &aSize)

Parameters

const TSize & aSize

SetSizeWithoutNotification(const TSize &)

IMPORT_C voidSetSizeWithoutNotification(const TSize &aSize)[protected]

Parameters

const TSize & aSize

SetTextBaselineSpacing(TInt)

IMPORT_C voidSetTextBaselineSpacing(TIntaSpacing)[virtual]

Parameters

TInt aSpacing

SetUniqueHandle(TInt)

IMPORT_C TIntSetUniqueHandle(TIntaUniqueHandle)

Parameters

TInt aUniqueHandle

SetZoomFactorL(TInt, TZoomType)

IMPORT_C voidSetZoomFactorL(TIntaZoomFactor,
TZoomTypeaZoomType = ERelativeZoom
)

Parameters

TInt aZoomFactor
TZoomType aZoomType = ERelativeZoom

SetZoomWithType(TCoeZoomWithType *)

TInt SetZoomWithType(TCoeZoomWithType *aZoomWithType)[private]

Parameters

TCoeZoomWithType * aZoomWithType

Size()

IMPORT_C TSizeSize()const

SizeChanged()

IMPORT_C voidSizeChanged()[protected, virtual]

SystemGc()

IMPORT_C CWindowGc &SystemGc()const

TextBaselineOffset(const TSize &)

IMPORT_C TIntTextBaselineOffset(const TSize &aSize)const [virtual]

Parameters

const TSize & aSize

TextDrawer(TInt)

IMPORT_C CCoeTextDrawerBase &TextDrawer(TIntaKey =  KErrNotFound )const [protected]

Parameters

TInt aKey =  KErrNotFound

UniqueHandle()

IMPORT_C TIntUniqueHandle()const

ValidateAdvancedPointerNumber(const TPointerEvent &)

TInt ValidateAdvancedPointerNumber(const TPointerEvent &aPointerEvent)const [private]

Parameters

const TPointerEvent & aPointerEvent

Window()

IMPORT_C RWindow &Window()const [protected]

WindowOwningParent()

CCoeControl *WindowOwningParent()[private]

WindowOwningParent()

const CCoeControl *WindowOwningParent()const [private, inline]

WriteInternalStateL(RWriteStream &)

IMPORT_C voidWriteInternalStateL(RWriteStream &aWriteStream)const [protected, virtual]

Parameters

RWriteStream & aWriteStream

WriteInternalStateNowL(RWriteStream &)

voidWriteInternalStateNowL(RWriteStream &aWriteStream)const

Parameters

RWriteStream & aWriteStream

ZoomWithType()

IMPORT_C const TCoeZoomWithType *ZoomWithType()const

operator=(const CCoeControl &)

CCoeControl &operator=(const CCoeControl &aControl)[protected, inline]

Parameters

const CCoeControl & aControl

Member Enumerations Documentation

Enum TZoomType

Enumerators

EAbsoluteZoom
ERelativeZoom

Member Data Documentation

CCoeEnv * iCoeEnv

CCoeEnv *iCoeEnv[protected]

MCoeControlContext * iContext

MCoeControlContext *iContext[protected]

CCoeControlStorage * iData

CCoeControlStorage *iData[private]

TInt iFlags

TInt iFlags[private]

MObjectProvider * iMopParent

MObjectProvider *iMopParent[private]

TPoint iPosition

TPoint iPosition[protected]

TSize iSize

TSize iSize[protected]

RDrawableWindow * iWin

RDrawableWindow *iWin[private]