title | description | ms.assetid | topic_type | api_name | api_location | api_type | ms.topic | ms.date | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Trackbar Control Styles (CommCtrl.h) |
This section contains information about the styles used with trackbar controls. |
ac2f59c6-85a2-4f41-aace-4132971d3559 |
|
|
|
|
reference |
05/31/2018 |
This section contains information about the styles used with trackbar controls.
Constant | Description |
---|---|
|
The trackbar control has a tick mark for each increment in its range of values. |
|
The trackbar control is oriented vertically. |
|
The trackbar control is oriented horizontally. This is the default orientation. |
|
The trackbar control displays tick marks above the control. This style is valid only with TBS_HORZ. |
|
The trackbar control displays tick marks below the control. This style is valid only with TBS_HORZ. |
|
The trackbar control displays tick marks to the left of the control. This style is valid only with TBS_VERT. |
|
The trackbar control displays tick marks to the right of the control. This style is valid only with TBS_VERT. |
|
The trackbar control displays tick marks on both sides of the control. This will be both top and bottom when used with TBS_HORZ or both left and right if used with TBS_VERT. |
|
The trackbar control does not display any tick marks. |
|
The trackbar control displays a selection range only. The tick marks at the starting and ending positions of a selection range are displayed as triangles (instead of vertical dashes), and the selection range is highlighted. |
|
The trackbar control allows the size of the slider to be changed with the TBM_SETTHUMBLENGTH message. |
|
The trackbar control does not display a slider. |
|
Version 4.70. The trackbar control supports tooltips. When a trackbar control is created using this style, it automatically creates a default tooltip control that displays the slider's current position. You can change where the tooltips are displayed by using the TBM_SETTIPSIDE message. |
|
Version 5.80.This style bit is used for "reversed" trackbars, where a smaller number indicates "higher" and a larger number indicates "lower." It has no effect on the control; it is simply a label that can be checked to determine whether a trackbar is normal or reversed. |
|
By default, the trackbar control uses down equal to right and up equal to left. Use the TBS_DOWNISLEFT style to reverse the default, making down equal left and up equal right. |
|
Version 6.00 and Windows Vista. Trackbar should notify parent before repositioning the slider due to user action (enables snapping). |
|
Version 6.00 and Windows Vista. Background is painted by the parent via the WM_PRINTCLIENT message. |
Requirement | Value |
---|---|
Header |
|