xtd 0.2.0
Loading...
Searching...
No Matches
button_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(BST_UNCHECKED)
20constexpr size_t BS_PUSHBUTTON = 0x00000000;
27constexpr size_t BS_DEFPUSHBUTTON = 0x00000001;
34constexpr size_t BS_CHECKBOX = 0x00000002;
41constexpr size_t BS_AUTOCHECKBOX = 0x00000003;
48constexpr size_t BS_RADIOBUTTON = 0x00000004;
55constexpr size_t BS_3STATE = 0x00000005;
62constexpr size_t BS_AUTO3STATE = 0x00000006;
69constexpr size_t BS_GROUPBOX = 0x00000007;
76constexpr size_t BS_USERBUTTON = 0x00000008;
83constexpr size_t BS_AUTORADIOBUTTON = 0x00000009;
90constexpr size_t BS_PUSHBOX = 0x0000000A;
97constexpr size_t BS_OWNERDRAW = 0x0000000B;
104constexpr size_t BS_TYPEMASK = 0x0000000F;
111constexpr size_t BS_LEFTTEXT = 0x00000020;
118constexpr size_t BS_TEXT = 0x00000000;
125constexpr size_t BS_ICON = 0x00000040;
132constexpr size_t BS_BITMAP = 0x00000080;
139constexpr size_t BS_LEFT = 0x00000100;
146constexpr size_t BS_RIGHT = 0x00000200;
153constexpr size_t BS_CENTER = 0x00000300;
160constexpr size_t BS_TOP = 0x00000400;
167constexpr size_t BS_BOTTOM = 0x00000800;
174constexpr size_t BS_VCENTER = 0x00000C00;
181constexpr size_t BS_PUSHLIKE = 0x00001000;
188constexpr size_t BS_MULTILINE = 0x00002000;
195constexpr size_t BS_NOTIFY = 0x00004000;
202constexpr size_t BS_FLAT = 0x00008000;
209constexpr size_t BS_RIGHTBUTTON = BS_LEFTTEXT;
210
217constexpr size_t BS_SPLITBUTTON = 0x0000000C;
224constexpr size_t BS_DEFSPLITBUTTON = 0x0000000D;
231constexpr size_t BS_COMMANDLINK = 0x0000000E;
238constexpr size_t BS_DEFCOMMANDLINK = 0x0000000F;
239#endif
constexpr size_t BS_AUTOCHECKBOX
Creates a button that is the same as a check box, except that the check state automatically toggles b...
Definition button_styles.h:41
constexpr size_t BS_DEFSPLITBUTTON
Creates a split button that behaves like a BS_PUSHBUTTON style button, but also has a distinctive app...
Definition button_styles.h:224
constexpr size_t BS_PUSHLIKE
Makes a button (such as a check box, three-state check box, or radio button) look and act like a push...
Definition button_styles.h:181
constexpr size_t BS_LEFT
Left-justifies the text in the button rectangle. However, if the button is a check box or radio butto...
Definition button_styles.h:139
constexpr size_t BS_NOTIFY
Enables a button to send BN_KILLFOCUS and BN_SETFOCUS notification codes to its parent window.
Definition button_styles.h:195
constexpr size_t BS_ICON
Specifies that the button displays an icon. See the Remarks section for its interaction with BS_BITMA...
Definition button_styles.h:125
constexpr size_t BS_TOP
Places text at the top of the button rectangle.
Definition button_styles.h:160
constexpr size_t BS_BOTTOM
Places text at the bottom of the button rectangle.
Definition button_styles.h:167
constexpr size_t BS_USERBUTTON
Obsolete, but provided for compatibility with 16-bit versions of Windows. Applications should use BS_...
Definition button_styles.h:76
constexpr size_t BS_SPLITBUTTON
Creates a split button. A split button has a drop down arrow.
Definition button_styles.h:217
constexpr size_t BS_CHECKBOX
Creates a small, empty check box with text. By default, the text is displayed to the right of the che...
Definition button_styles.h:34
constexpr size_t BS_LEFTTEXT
Places text on the left side of the radio button or check box when combined with a radio button or ch...
Definition button_styles.h:111
constexpr size_t BS_TYPEMASK
Do not use this style. A composite style bit that results from using the OR operator on BS_* style bi...
Definition button_styles.h:104
constexpr size_t BS_BITMAP
Specifies that the button displays a bitmap. See the Remarks section for its interaction with BS_ICON...
Definition button_styles.h:132
constexpr size_t BS_GROUPBOX
Creates a rectangle in which other controls can be grouped. Any text associated with this style is di...
Definition button_styles.h:69
constexpr size_t BS_PUSHBOX
Creates a push button without button face or frame (only textappears) that posts a WM_COMMAND message...
Definition button_styles.h:90
constexpr size_t BS_RIGHTBUTTON
Positions a radio button's circle or a check box's square on the right side of the button rectangle....
Definition button_styles.h:209
constexpr size_t BS_MULTILINE
Wraps the button text to multiple lines if the text string is too long to fit on a single line in the...
Definition button_styles.h:188
constexpr size_t BS_RADIOBUTTON
Creates a small circle with text. By default, the text is displayed to the right of the circle....
Definition button_styles.h:48
constexpr size_t BS_VCENTER
Places text in the middle (vertically) of the button rectangle.
Definition button_styles.h:174
constexpr size_t BS_CENTER
Centers text horizontally in the button rectangle.
Definition button_styles.h:153
constexpr size_t BS_AUTORADIOBUTTON
Creates a button that is the same as a radio button, except that when the user selects it,...
Definition button_styles.h:83
constexpr size_t BS_AUTO3STATE
Creates a button that is the same as a three-state check box, except that the box changes its state w...
Definition button_styles.h:62
constexpr size_t BS_FLAT
Specifies that the button is two-dimensional; it does not use the default shading to create a 3-D ima...
Definition button_styles.h:202
constexpr size_t BS_DEFPUSHBUTTON
Creates a push button that behaves like a BS_PUSHBUTTON style button, but has a distinct appearance....
Definition button_styles.h:27
constexpr size_t BS_PUSHBUTTON
Creates a push button that posts a WM_COMMAND message to the owner window when the user selects the b...
Definition button_styles.h:20
constexpr size_t BS_TEXT
Specifies that the button displays text.
Definition button_styles.h:118
constexpr size_t BS_OWNERDRAW
Creates an owner-drawn button. The owner window receives a WM_DRAWITEM message when a visual aspect o...
Definition button_styles.h:97
constexpr size_t BS_DEFCOMMANDLINK
Creates a command link button that behaves like a BS_PUSHBUTTON style button. If the button is in a d...
Definition button_styles.h:238
constexpr size_t BS_3STATE
Creates a button that is the same as a check box, except that the box can be grayed as well as checke...
Definition button_styles.h:55
constexpr size_t BS_RIGHT
Right-justifies text in the button rectangle. However, if the button is a check box or radio button t...
Definition button_styles.h:146
constexpr size_t BS_COMMANDLINK
Creates a command link button that behaves like a BS_PUSHBUTTON style button, but the command link bu...
Definition button_styles.h:231