xtd 0.2.0
Loading...
Searching...
No Matches
tab control styles

Definition

tab control styles definitions.

Warning
Internal use only

Variables

constexpr size_t TCS_SCROLLOPPOSITE
 Unneeded tabs scroll to the opposite side of the control when a tab is selected.
 
constexpr size_t TCS_BOTTOM
 Tabs appear at the bottom of the control. This value equals TCS_RIGHT.
 
constexpr size_t TCS_RIGHT
 Tabs appear vertically on the right side of controls that use the TCS_VERTICAL style. This value equals TCS_BOTTOM.
 
constexpr size_t TCS_MULTISELECT
 Multiple tabs can be selected by holding down the CTRL key when clicking. This style must be used with the TCS_BUTTONS style.
 
constexpr size_t TCS_FLATBUTTONS
 Selected tabs appear as being indented into the background while other tabs appear as being on the same plane as the background. This style only affects tab controls with the TCS_BUTTONS style.
 
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 TCS_FIXEDWIDTH style.
 
constexpr size_t TCS_FORCELABELLEFT
 Labels are aligned with the left edge of each fixed-width tab; that is, the label is displayed immediately to the right of the icon instead of being centered. This style can only be used with the TCS_FIXEDWIDTH style, and it implies the TCS_FORCEICONLEFT style.
 
constexpr size_t TCS_HOTTRACK
 Items under the pointer are automatically highlighted. You can check whether hot tracking is enabled by calling SystemParametersInfo.
 
constexpr size_t TCS_VERTICAL
 Tabs appear at the left side of the control, with tab text displayed vertically. This style is valid only when used with the TCS_MULTILINE style. To make tabs appear on the right side of the control, also use the TCS_RIGHT style.
 
constexpr size_t TCS_TABS
 Tabs appear as tabs, and a border is drawn around the display area. This style is the default.
 
constexpr size_t TCS_BUTTONS
 Tabs appear as buttons, and no border is drawn around the display area.
 
constexpr size_t TCS_SINGLELINE
 Only one row of tabs is displayed. The user can scroll to see more tabs, if necessary. This style is the default.
 
constexpr size_t TCS_MULTILINE
 Multiple rows of tabs are displayed, if necessary, so all tabs are visible at once.
 
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 the tab control. This window style is ignored unless the TCS_MULTILINE style is also specified.
 
constexpr size_t TCS_FIXEDWIDTH
 All tabs are the same width. This style cannot be combined with the TCS_RIGHTJUSTIFY style.
 
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.
 
constexpr size_t TCS_FOCUSONBUTTONDOWN
 The tab control receives the input focus when clicked.
 
constexpr size_t TCS_OWNERDRAWFIXED
 The parent window is responsible for drawing tabs.
 
constexpr size_t TCS_TOOLTIPS
 The tab control has a tooltip control associated with it.
 
constexpr size_t TCS_FOCUSNEVER
 The tab control does not receive the input focus when clicked.
 

Variable Documentation

◆ TCS_SCROLLOPPOSITE

constexpr size_t TCS_SCROLLOPPOSITE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Unneeded tabs scroll to the opposite side of the control when a tab is selected.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_BOTTOM

constexpr size_t TCS_BOTTOM
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Tabs appear at the bottom of the control. This value equals TCS_RIGHT.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_RIGHT

constexpr size_t TCS_RIGHT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Tabs appear vertically on the right side of controls that use the TCS_VERTICAL style. This value equals TCS_BOTTOM.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_MULTISELECT

constexpr size_t TCS_MULTISELECT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Multiple tabs can be selected by holding down the CTRL key when clicking. This style must be used with the TCS_BUTTONS style.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_FLATBUTTONS

constexpr size_t TCS_FLATBUTTONS
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Selected tabs appear as being indented into the background while other tabs appear as being on the same plane as the background. This style only affects tab controls with the TCS_BUTTONS style.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_FORCEICONLEFT

constexpr size_t TCS_FORCEICONLEFT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Icons are aligned with the left edge of each fixed-width tab. This style can only be used with the TCS_FIXEDWIDTH style.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_FORCELABELLEFT

constexpr size_t TCS_FORCELABELLEFT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Labels are aligned with the left edge of each fixed-width tab; that is, the label is displayed immediately to the right of the icon instead of being centered. This style can only be used with the TCS_FIXEDWIDTH style, and it implies the TCS_FORCEICONLEFT style.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_HOTTRACK

constexpr size_t TCS_HOTTRACK
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Items under the pointer are automatically highlighted. You can check whether hot tracking is enabled by calling SystemParametersInfo.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_VERTICAL

constexpr size_t TCS_VERTICAL
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Tabs appear at the left side of the control, with tab text displayed vertically. This style is valid only when used with the TCS_MULTILINE style. To make tabs appear on the right side of the control, also use the TCS_RIGHT style.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_TABS

constexpr size_t TCS_TABS
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Tabs appear as tabs, and a border is drawn around the display area. This style is the default.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_BUTTONS

constexpr size_t TCS_BUTTONS
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Tabs appear as buttons, and no border is drawn around the display area.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_SINGLELINE

constexpr size_t TCS_SINGLELINE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Only one row of tabs is displayed. The user can scroll to see more tabs, if necessary. This style is the default.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_MULTILINE

constexpr size_t TCS_MULTILINE
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Multiple rows of tabs are displayed, if necessary, so all tabs are visible at once.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_RIGHTJUSTIFY

constexpr size_t TCS_RIGHTJUSTIFY
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

The width of each tab is increased, if necessary, so that each row of tabs fills the entire width of the tab control. This window style is ignored unless the TCS_MULTILINE style is also specified.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_FIXEDWIDTH

constexpr size_t TCS_FIXEDWIDTH
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

All tabs are the same width. This style cannot be combined with the TCS_RIGHTJUSTIFY style.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_RAGGEDRIGHT

constexpr size_t TCS_RAGGEDRIGHT
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

Rows of tabs will not be stretched to fill the entire width of the control. This style is the default.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_FOCUSONBUTTONDOWN

constexpr size_t TCS_FOCUSONBUTTONDOWN
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

The tab control receives the input focus when clicked.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_OWNERDRAWFIXED

constexpr size_t TCS_OWNERDRAWFIXED
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

The parent window is responsible for drawing tabs.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_TOOLTIPS

constexpr size_t TCS_TOOLTIPS
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

The tab control has a tooltip control associated with it.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only

◆ TCS_FOCUSNEVER

constexpr size_t TCS_FOCUSNEVER
constexpr

#include <xtd.forms.native/include/xtd/forms/native/tab_control_styles.hpp>

The tab control does not receive the input focus when clicked.

Library
xtd.forms.native
Remarks
For more info see https://docs.microsoft.com .
Warning
Internal use only