diff -r 000000000000 -r 89d6a7a84779 Symbian3/SDK/Source/GUID-60B979FB-43BD-480E-8E17-1D3DA2002CB1.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-60B979FB-43BD-480E-8E17-1D3DA2002CB1.dita Thu Jan 21 18:18:20 2010 +0000 @@ -0,0 +1,37 @@ + + + + Slider +pop-up +

The Slider pop-up component can be used for situations where a value is +changed with a slider, for example when changing zoom or volume level. The +common Slider pop-up component has a set of elements from which to select +and modify the slider in question, e.g. value ranges, whether to have current +value as text included, or additional icons related to the slider.

+

For application specific slider pop-up the application may define ways +to open the pop-up. For common pop-up such as Volume Control, ways to open +the pop-up are defined. The Slider pop-up has default timeout after which +it disappears, but for good reason this timeout can be overridden by the application.

+

Instead of using the pop-up, the application may define the slider to be +always visible i.e. fixed in the layout. If slider is fixed in the layout, +the pop-up is not shown.

+

The orientation of the slider pop-up can be either horizontal or vertical. +The orientation and location are always the same across applications, unless +application uses the slider as fixed in the layout. Value growth direction +in Slider is always either up or right depending on the Slider orientation +in the UI.

+
Using slider pop-ups +in C++ applications

The API to use for the slider pop-up is the Slider +API.

To use a slider pop-up in your application, create an instance +of the class CAknSlider.

Use +the method CAknSlider::SetValueL() to set the slider handle's position. To set the range of acceptable +values, use the method CAknSlider::SetRange(). To set the step size, use the method CAknSlider::SetStepSize().

To set the texts +for the minimum and maximum values, use the methods CAknSlider::SetMinimumTextL() and CAknSlider::SetMaximumTextL().

To enable drag +events in the slider, use the method CAknSlider::EnableDrag()

To use a custom graphic +in your slider component, use the method CAknSlider::SetGraphics().

+
\ No newline at end of file