xtd 0.2.0
Loading...
Searching...
No Matches
tab_control_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(TCS_SCROLLOPPOSITE)
20constexpr size_t TCS_SCROLLOPPOSITE = 0x0001; // assumes multiline tab
27constexpr size_t TCS_BOTTOM = 0x0002;
34constexpr size_t TCS_RIGHT = 0x0002;
41constexpr size_t TCS_MULTISELECT = 0x0004; // allow multi-select in button mode
48constexpr size_t TCS_FLATBUTTONS = 0x0008;
55constexpr size_t TCS_FORCEICONLEFT = 0x0010;
62constexpr size_t TCS_FORCELABELLEFT = 0x0020;
69constexpr size_t TCS_HOTTRACK = 0x0040;
76constexpr size_t TCS_VERTICAL = 0x0080;
83constexpr size_t TCS_TABS = 0x0000;
90constexpr size_t TCS_BUTTONS = 0x0100;
97constexpr size_t TCS_SINGLELINE = 0x0000;
104constexpr size_t TCS_MULTILINE = 0x0200;
111constexpr size_t TCS_RIGHTJUSTIFY = 0x0000;
118constexpr size_t TCS_FIXEDWIDTH = 0x0400;
125constexpr size_t TCS_RAGGEDRIGHT = 0x0800;
132constexpr size_t TCS_FOCUSONBUTTONDOWN = 0x1000;
139constexpr size_t TCS_OWNERDRAWFIXED = 0x2000;
146constexpr size_t TCS_TOOLTIPS = 0x4000;
153constexpr size_t TCS_FOCUSNEVER = 0x8000;
154#endif
constexpr size_t TCS_BUTTONS
Tabs appear as buttons, and no border is drawn around the display area.
Definition tab_control_styles.h:90
constexpr size_t TCS_RIGHT
Tabs appear vertically on the right side of controls that use the TCS_VERTICAL style....
Definition tab_control_styles.h:34
constexpr size_t TCS_TABS
Tabs appear as tabs, and a border is drawn around the display area. This style is the default.
Definition tab_control_styles.h:83
constexpr size_t TCS_VERTICAL
Tabs appear at the left side of the control, with tab text displayed vertically. This style is valid ...
Definition tab_control_styles.h:76
constexpr size_t TCS_FORCELABELLEFT
Labels are aligned with the left edge of each fixed-width tab; that is, the label is displayed immedi...
Definition tab_control_styles.h:62
constexpr size_t TCS_FOCUSONBUTTONDOWN
The tab control receives the input focus when clicked.
Definition tab_control_styles.h:132
constexpr size_t TCS_SCROLLOPPOSITE
Unneeded tabs scroll to the opposite side of the control when a tab is selected.
Definition tab_control_styles.h:20
constexpr size_t TCS_MULTISELECT
Multiple tabs can be selected by holding down the CTRL key when clicking. This style must be used wit...
Definition tab_control_styles.h:41
constexpr size_t TCS_RAGGEDRIGHT
Rows of tabs will not be stretched to fill the entire width of the control. This style is the default...
Definition tab_control_styles.h:125
constexpr size_t TCS_MULTILINE
Multiple rows of tabs are displayed, if necessary, so all tabs are visible at once.
Definition tab_control_styles.h:104
constexpr size_t TCS_OWNERDRAWFIXED
The parent window is responsible for drawing tabs.
Definition tab_control_styles.h:139
constexpr size_t TCS_BOTTOM
Tabs appear at the bottom of the control. This value equals TCS_RIGHT.
Definition tab_control_styles.h:27
constexpr size_t TCS_RIGHTJUSTIFY
The width of each tab is increased, if necessary, so that each row of tabs fills the entire width of ...
Definition tab_control_styles.h:111
constexpr size_t TCS_FOCUSNEVER
The tab control does not receive the input focus when clicked.
Definition tab_control_styles.h:153
constexpr size_t TCS_FLATBUTTONS
Selected tabs appear as being indented into the background while other tabs appear as being on the sa...
Definition tab_control_styles.h:48
constexpr size_t TCS_HOTTRACK
Items under the pointer are automatically highlighted. You can check whether hot tracking is enabled ...
Definition tab_control_styles.h:69
constexpr size_t TCS_FIXEDWIDTH
All tabs are the same width. This style cannot be combined with the TCS_RIGHTJUSTIFY style.
Definition tab_control_styles.h:118
constexpr size_t TCS_FORCEICONLEFT
Icons are aligned with the left edge of each fixed-width tab. This style can only be used with the TC...
Definition tab_control_styles.h:55
constexpr size_t TCS_TOOLTIPS
The tab control has a tooltip control associated with it.
Definition tab_control_styles.h:146
constexpr size_t TCS_SINGLELINE
Only one row of tabs is displayed. The user can scroll to see more tabs, if necessary....
Definition tab_control_styles.h:97