The Slider Control is a window that contains a slider and optional tick marks. Your application sets or gets the range of the Slider control's values, using DLG_RANGEMIN and DLG_RANGEMAX, and the current value, using DLG_POSITION. Your application can also set:
The number of logical positions the slider moves in response to keyboard input from the arrow keys using DLG_SMALLSTEP.
The number of logical positions the slider moves in response to keyboard input, such as the PAGE UP or PAGE DOWN keys, or mouse input, such as clicks in the slider's channel, using DLG_BIGSTEP.
The interval frequency for tick marks on the slider using DLG_TICKFREQ.
The Slider Control calls the DLG_CHANGE callback whenever the user changes the current value of the control.
The Slider control is named the "Trackbar" control in Windows programming documentation.
Did you find the information on this page useful?