Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

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



Location: eikthumb.h
Link against: eikcoctl.lib

Class CEikScrollThumb

CEikScrollThumb

Support

Supported from 6.0

Description

A scroll thumb.

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
CEikScrollThumbA scroll thumb

Defined in CEikScrollThumb:
CEikScrollThumb(), DragState(), Draw(), DrawDragStateNow(), EHorizontal, EVertical, GetColorUseListL(), HandleResourceChange(), SetDragState(), TOrientation

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(), HandlePointerEventL(), 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


Construction


CEikScrollThumb()

CEikScrollThumb(TOrientation aOrientation);

Description

Constructs a scroll thumb with the specified orientation.

Parameters

TOrientation aOrientation

The scroll thumb's orientation.

[Top]


Member functions


SetDragState()

void SetDragState(TBool aState);

Description

Sets thumb drag state.

Parameters

TBool aState

ETrue to set the thumb as dragged. EFalse otherwise.


DragState()

TBool DragState();

Description

Gets thumb drag state.

Return value

TBool

ETrue if the thumb is currently dragged. EFalse otherwise.


Draw()

void Draw(const TRect& aRect) const;

Description

Draws the entire thumb, complete with margins.

Parameters

const TRect& aRect

Optional, specifies the rectangle in which to draw the thumb.


DrawDragStateNow()

void DrawDragStateNow() const;

Description

Draws the thumb's emphasis depending on whether it is being dragged. Does not draw the thumb's margins, to do this call the Draw() function.


GetColorUseListL()

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

Description

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

Parameters

CArrayFix<TCoeColorUse>& aColorUseList

List of logical colours used to draw the control, paired with an explanation of how they are used.


HandleResourceChange()

void HandleResourceChange(TInt aType);

Description

Handles a change to the control's resources which are shared across the environment. Colours or fonts for example.

Parameters

TInt aType

The type of resource that has changed.

[Top]


Enumerations


Enum TOrientation

TOrientation

Description

Specifes a scroll thumb's orientation.

EVertical

Sets orientation to vertical.

EHorizontal

Sets orientation to horizontal.