CSliderCtrl Methods

Construction Methods

Method Description
CSliderCtrl Constructs a CSliderCtrl object.
Create Creates a slider control and attaches it to a CSliderCtrl object.

Attributes Methods

Method Description
GetLineSize Retrieves the line size of a slider control.
SetLineSize Sets the line size of a slider control.
GetPageSize Retrieves the page size of a slider control.
SetPageSize Sets the page size of a slider control.
GetRangeMax Retrieves the maximum position for a slider.
GetRangeMin Retrieves the minimum position for a slider.
GetRange Retrieves the minimum and maximum positions for a slider.
SetRangeMin Sets the minimum position for a slider.
SetRangeMax Sets the maximum position for a slider.
SetRange Sets the minimum and maximum positions for a slider.
GetSelection Retrieves the range of the current selection.
SetSelection Sets the range of the current selection.
GetChannelRect Retrieves the size of the slider control’s channel.
GetThumbRect Retrieves the size of the slider control’s thumb.
GetPos Retrieves the current position of the slider.
SetPos Sets the current position of the slider.
GetNumTics Retrieves the number of tick marks in a slider control.
GetTicArray Retrieves the array of tick mark positions for a slider control.
GetTic Retrieves the position of the specified tick mark.
GetTicPos Retrieves the position of the specified tick mark, in client coordinates.
SetTic Sets the position of the specified tick mark.
SetTicFreq Sets the frequency of tick marks per slider control increment.

Operations Methods

Method Description
ClearSel Clears the current selection in a slider control.
VerifyPos Verifies that the position of a slider control is zero.
ClearTics Removes the current tick marks from a slider control.