xtd 0.2.0
Loading...
Searching...
No Matches
track_bar_styles.h
Go to the documentation of this file.
1
4#pragma once
6#if !defined(__XTD_FORMS_NATIVE_LIBRARY__)
7#error "Do not include this file: Internal use only"
8#endif
10
11#include <cstddef>
12
13#if !defined(TBS_AUTOTICKS)
22constexpr size_t TBS_AUTOTICKS = 0x0001;
29constexpr size_t TBS_VERT = 0x0002;
36constexpr size_t TBS_HORZ = 0x0000;
43constexpr size_t TBS_TOP = 0x0004;
50constexpr size_t TBS_BOTTOM = 0x0000;
57constexpr size_t TBS_LEFT = 0x0004;
64constexpr size_t TBS_RIGHT = 0x0000;
71constexpr size_t TBS_BOTH = 0x0008;
78constexpr size_t TBS_NOTICKS = 0x0010;
85constexpr size_t TBS_ENABLESELRANGE = 0x0020;
92constexpr size_t TBS_FIXEDLENGTH = 0x0040;
99constexpr size_t TBS_NOTHUMB = 0x0080;
106constexpr size_t TBS_TOOLTIPS = 0x0100;
113constexpr size_t TBS_REVERSED = 0x0200; // Accessibility hint: the smaller number (usually the min value) means "high" and the larger number (usually the max value) means "low"
120constexpr size_t TBS_DOWNISLEFT = 0x0400; // Down=Left and Up=Right (default is Down=Right and Up=Left)
127constexpr size_t TBS_NOTIFYBEFOREMOVE = 0x0800; // Trackbar should notify parent before repositioning the slider due to user action (enables snapping)
134constexpr size_t TBS_TRANSPARENTBKGND = 0x1000; // Background is painted by the parent via WM_PRINTCLIENT
135#endif
constexpr size_t TBS_NOTIFYBEFOREMOVE
Trackbar should notify parent before repositioning the slider due to user action (enables snapping).
Definition track_bar_styles.h:127
constexpr size_t TBS_VERT
The trackbar control is oriented vertically.
Definition track_bar_styles.h:29
constexpr size_t TBS_DOWNISLEFT
By default, the trackbar control uses down equal to right and up equal to left. Use the TBS_DOWNISLEF...
Definition track_bar_styles.h:120
constexpr size_t TBS_LEFT
The trackbar control displays tick marks to the left of the control. This style is valid only with TB...
Definition track_bar_styles.h:57
constexpr size_t TBS_BOTTOM
The trackbar control displays tick marks below the control. This style is valid only with TBS_HORZ.
Definition track_bar_styles.h:50
constexpr size_t TBS_TOP
The trackbar control displays tick marks above the control. This style is valid only with TBS_HORZ.
Definition track_bar_styles.h:43
constexpr size_t TBS_RIGHT
The trackbar control displays tick marks to the right of the control. This style is valid only with T...
Definition track_bar_styles.h:64
constexpr size_t TBS_FIXEDLENGTH
The trackbar control allows the size of the slider to be changed with the TBM_SETTHUMBLENGTH message.
Definition track_bar_styles.h:92
constexpr size_t TBS_REVERSED
This style bit is used for "reversed" trackbars, where a smaller number indicates "higher" and a larg...
Definition track_bar_styles.h:113
constexpr size_t TBS_AUTOTICKS
The trackbar control has a tick mark for each increment in its range of values.
Definition track_bar_styles.h:22
constexpr size_t TBS_NOTICKS
The trackbar control does not display any tick marks.
Definition track_bar_styles.h:78
constexpr size_t TBS_HORZ
The trackbar control is oriented horizontally. This is the default orientation.
Definition track_bar_styles.h:36
constexpr size_t TBS_TRANSPARENTBKGND
Background is painted by the parent via the WM_PRINTCLIENT message.
Definition track_bar_styles.h:134
constexpr size_t TBS_BOTH
The trackbar control displays tick marks on both sides of the control. This will be both top and bott...
Definition track_bar_styles.h:71
constexpr size_t TBS_TOOLTIPS
The trackbar control supports tooltips. When a trackbar control is created using this style,...
Definition track_bar_styles.h:106
constexpr size_t TBS_ENABLESELRANGE
The trackbar control displays a selection range only. The tick marks at the starting and ending posit...
Definition track_bar_styles.h:85
constexpr size_t TBS_NOTHUMB
The trackbar control does not display a slider.
Definition track_bar_styles.h:99