API published in: S60 1st Ed
Link against: eikcoctl.lib
Required Capabilities
None
#include <eikscrlb.h>
Inherits CEikScrollBar.
Additionally it has in its shaft a double span feature which means that there can be another thumb inside the thumb if needed.
This class uses TAknDoubleSpanScrollBarModel instead of TEikScrollBarModel as its internal scrollbar model. TAknDoubleSpanScrollBarModel in binary compatible with TEikScrollBarModel. User must take care that TAknDoubleSpanScrollBarModel is really used in API calls in places where TEikScrollBarModel is declared.
Public Member Functions |
|
IMPORT_C | CAknDoubleSpanScrollBar (CCoeControl *aParentWindow) |
IMPORT_C | ~CAknDoubleSpanScrollBar () |
IMPORT_C void | SetFixedLayoutRect (TRect aScrollBarRect) |
Sets fixed layout to scrollbar. |
|
IMPORT_C void | ConstructL (TBool aWindowOwning, MEikScrollBarObserver *aScrollBarObserver, const CCoeControl *aParent, TOrientation aOrientation, TInt aLength, TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour) |
Method for constructing the object. |
|
IMPORT_C void | SetScrollPopupInfoTextL (const TDesC &aText) |
Sets scroll popup info text to be shown while dragging with stylus. |
|
TRect | FixedLayoutRect () |
Gets the fixed layoutrect of the scrollbar. |
|
IMPORT_C void | ConstructL (MEikScrollBarObserver *aScrollBarObserver, const CCoeControl *aParent, TOrientation aOrientation, TInt aLength, TInt aScrollBarFlags=EEikScrollBarDefaultBehaviour) |
IMPORT_C void | MakeVisible (TBool aVisible) |
From CCoeControl . |
|
IMPORT_C void | HandlePointerEventL (const TPointerEvent &aPointerEvent) |
From CCoeControl . |
|
TBool | DrawBackgroundState () |
void | DrawBackground (TBool aDrawHorizontal) |
Protected Member Functions |
|
IMPORT_C CCoeControl * | ComponentControl (TInt aIndex) const |
From CCoeControl . |
|
IMPORT_C TInt | CountComponentControls () const |
From . |
|
|
|
From Gets the specified scrollbar component. Each component control is identified by an index, where the index depends on the order the controls were added: the first is given an index of 0, the next an index of 1.
Reimplemented from CEikScrollBar. |
|
|
Method for constructing the object.
|
|
From . Gets the number of controls contained in this scrollbar.
Reimplemented from CEikScrollBar. |
|
|
|
Gets the fixed layoutrect of the scrollbar.
|
|
From Called by the framework to handle pointer events.
Reimplemented from CEikScrollBar. |
|
From Sets this control as visible or invisible.
If
Reimplemented from CEikScrollBar. |
|
Sets fixed layout to scrollbar. If set, then scrollbar size changes done by the CEikScrollBarFrame class are disabled.
|
|
Sets scroll popup info text to be shown while dragging with stylus. Popup is shown until next pointer up event. KNullDesC parameter can be used to hide popup earlier.
|