xtd 0.2.0
Loading...
Searching...
No Matches
tool_bar_styles.h File Reference
#include <cstddef>

Definition

Contains tool bar styles constants.

Go to the source code of this file.

Variables

constexpr size_t TBSTYLE_TOOLTIPS
 Creates a tooltip control that an application can use to display descriptive text for the buttons in the toolbar.
 
constexpr size_t TBSTYLE_WRAPABLE
 Creates a toolbar that can have multiple lines of buttons. Toolbar buttons can "wrap" to the next line when the toolbar becomes too narrow to include all buttons on the same line. When the toolbar is wrapped, the break will occur on either the rightmost separator or the rightmost button if there are no separators on the bar. This style must be set to display a vertical toolbar control when the toolbar is part of a vertical rebar control. This style cannot be combined with CCS_VERT.
 
constexpr size_t TBSTYLE_ALTDRAG
 Allows users to change a toolbar button's position by dragging it while holding down the ALT key. If this style is not specified, the user must hold down the SHIFT key while dragging a button. Note that the CCS_ADJUSTABLE style must be specified to enable toolbar buttons to be dragged.
 
constexpr size_t TBSTYLE_FLAT
 Creates a flat toolbar. In a flat toolbar, both the toolbar and the buttons are transparent and hot-tracking is enabled. Button text appears under button bitmaps. To prevent repainting problems, this style should be set before the toolbar control becomes visible.
 
constexpr size_t TBSTYLE_LIST
 Creates a flat toolbar with button text to the right of the bitmap. Otherwise, this style is identical to TBSTYLE_FLAT. To prevent repainting problems, this style should be set before the toolbar control becomes visible.
 
constexpr size_t TBSTYLE_CUSTOMERASE
 Generates NM_CUSTOMDRAW notification codes when the toolbar processes WM_ERASEBKGND messages.
 
constexpr size_t TBSTYLE_REGISTERDROP
 Generates TBN_GETOBJECT notification codes to request drop target objects when the cursor passes over toolbar buttons.
 
constexpr size_t TBSTYLE_TRANSPARENT
 Creates a transparent toolbar. In a transparent toolbar, the toolbar is transparent but the buttons are not. Button text appears under button bitmaps. To prevent repainting problems, this style should be set before the toolbar control becomes visible.
 
constexpr size_t TBSTYLE_SHOWTEXT
 Specifies that the tool bar button texts are visible.
 
constexpr size_t TBSTYLE_TEXTRIGHTALIGN
 Specifies that the tool bar button texts are right-aligned. The default value is bottom aligned.
 
constexpr size_t TBSTYLE_LEFT
 Specifies that the tool bar is left position. The default value is top.
 
constexpr size_t TBSTYLE_BOTTOM
 Specifies that the tool bar is bottom position. The default value is top.
 
constexpr size_t TBSTYLE_RIGHT
 Specifies that the tool bar is right position. The default value is top.
 
constexpr size_t TBSTYLE_NOSHOWICON
 Specifies that the tool bar icon is no visible.
 
constexpr size_t TBSTYLE_NODIVIDER
 Specifies that the tool bar divider is no visible.