xtd 0.2.0
Loading...
Searching...
No Matches
scroll_bar_styles.hpp
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(SBS_HORZ)
14// Scroll Bar Control Styles
15
22constexpr size_t SBS_HORZ = 0x0000;
29constexpr size_t SBS_VERT = 0x0001;
36constexpr size_t SBS_TOPALIGN = 0x0002;
43constexpr size_t SBS_LEFTALIGN = 0x0002;
50constexpr size_t SBS_BOTTOMALIGN = 0x0004;
57constexpr size_t SBS_RIGHTALIGN = 0x0004;
64constexpr size_t SBS_SIZEBOXTOPLEFTALIGN = 0x0002L;
71constexpr size_t SBS_SIZEBOXBOTTOMRIGHTALIGN = 0x0004;
78constexpr size_t SBS_SIZEBOX = 0x0008;
85constexpr size_t SBS_SIZEGRIP = 0x0010;
86
87// Scroll Bar Control Constants
88
95constexpr size_t SB_HORZ = 0;
102constexpr size_t SB_VERT = 1;
109constexpr size_t SB_CTL = 2;
116constexpr size_t SB_BOTH = 3;
117
118// Scroll Bar Commands
119
126constexpr size_t SB_LINEUP = 0;
133constexpr size_t SB_LINELEFT = 0;
140constexpr size_t SB_LINEDOWN = 1;
147constexpr size_t SB_LINERIGHT = 1;
154constexpr size_t SB_PAGEUP = 2;
161constexpr size_t SB_PAGELEFT = 2;
168constexpr size_t SB_PAGEDOWN = 3;
175constexpr size_t SB_PAGERIGHT = 3;
182constexpr size_t SB_THUMBPOSITION = 4;
189constexpr size_t SB_THUMBTRACK = 5;
196constexpr size_t SB_TOP = 6;
203constexpr size_t SB_LEFT = 6;
210constexpr size_t SB_BOTTOM = 7;
217constexpr size_t SB_RIGHT = 7;
224constexpr size_t SB_ENDSCROLL = 8;
225#endif
constexpr size_t SB_LINEUP
Scrolls one line up.
Definition scroll_bar_styles.hpp:126
constexpr size_t SBS_VERT
Designates a vertical scroll bar. If you specify neither the SBS_RIGHTALIGN nor the SBS_LEFTALIGN sty...
Definition scroll_bar_styles.hpp:29
constexpr size_t SBS_SIZEBOX
Designates a size box. If you specify neither the SBS_SIZEBOXBOTTOMRIGHTALIGN nor the SBS_SIZEBOXTOPL...
Definition scroll_bar_styles.hpp:78
constexpr size_t SBS_SIZEGRIP
Same as SBS_SIZEBOX, but with a raised edge.
Definition scroll_bar_styles.hpp:85
constexpr size_t SB_THUMBPOSITION
The user has dragged the scroll box (thumb) and released the mouse button. The HIWORD indicates the p...
Definition scroll_bar_styles.hpp:182
constexpr size_t SBS_RIGHTALIGN
Aligns the right edge of the scroll bar with the right edge of the rectangle defined by the x,...
Definition scroll_bar_styles.hpp:57
constexpr size_t SB_LINEDOWN
Scrolls one line down.
Definition scroll_bar_styles.hpp:140
constexpr size_t SB_CTL
Shows or hides a scroll bar control. The hwnd parameter must be the handle to the scroll bar control.
Definition scroll_bar_styles.hpp:109
constexpr size_t SBS_SIZEBOXBOTTOMRIGHTALIGN
Aligns the lower right corner of the size box with the lower right corner of the rectangle specified ...
Definition scroll_bar_styles.hpp:71
constexpr size_t SB_RIGHT
Scrolls to the lower right.
Definition scroll_bar_styles.hpp:217
constexpr size_t SB_PAGEUP
Scrolls one page up.
Definition scroll_bar_styles.hpp:154
constexpr size_t SB_THUMBTRACK
The user is dragging the scroll box. This message is sent repeatedly until the user releases the mous...
Definition scroll_bar_styles.hpp:189
constexpr size_t SB_LINERIGHT
Scrolls one line right.
Definition scroll_bar_styles.hpp:147
constexpr size_t SB_HORZ
Shows or hides a window's standard horizontal scroll bars.
Definition scroll_bar_styles.hpp:95
constexpr size_t SBS_HORZ
Designates a horizontal scroll bar. If neither the SBS_BOTTOMALIGN nor SBS_TOPALIGN style is specifie...
Definition scroll_bar_styles.hpp:22
constexpr size_t SB_PAGERIGHT
Scrolls one page right.
Definition scroll_bar_styles.hpp:175
constexpr size_t SB_LEFT
Scrolls to the upper left.
Definition scroll_bar_styles.hpp:203
constexpr size_t SBS_TOPALIGN
Aligns the top edge of the scroll bar with the top edge of the rectangle defined by the x,...
Definition scroll_bar_styles.hpp:36
constexpr size_t SBS_SIZEBOXTOPLEFTALIGN
SAligns the upper left corner of the size box with the upper left corner of the rectangle specified b...
Definition scroll_bar_styles.hpp:64
constexpr size_t SB_PAGEDOWN
Scrolls one page down.
Definition scroll_bar_styles.hpp:168
constexpr size_t SB_TOP
Scrolls to the upper left.
Definition scroll_bar_styles.hpp:196
constexpr size_t SBS_LEFTALIGN
Aligns the left edge of the scroll bar with the left edge of the rectangle defined by the x,...
Definition scroll_bar_styles.hpp:43
constexpr size_t SB_BOTTOM
Scrolls to the lower right.
Definition scroll_bar_styles.hpp:210
constexpr size_t SB_BOTH
Shows or hides a window's standard horizontal and vertical scroll bars.
Definition scroll_bar_styles.hpp:116
constexpr size_t SB_LINELEFT
Scrolls one line left.
Definition scroll_bar_styles.hpp:133
constexpr size_t SB_VERT
Shows or hides a window's standard vertical scroll bar.
Definition scroll_bar_styles.hpp:102
constexpr size_t SB_ENDSCROLL
Ends scroll.
Definition scroll_bar_styles.hpp:224
constexpr size_t SBS_BOTTOMALIGN
Aligns the bottom edge of the scroll bar with the bottom edge of the rectangle defined by the x,...
Definition scroll_bar_styles.hpp:50
constexpr size_t SB_PAGELEFT
Scrolls one page left.
Definition scroll_bar_styles.hpp:161