Common Control Styles
This section lists common control styles. Except where noted, these styles apply to rebar controls, toolbar controls, and status windows.
Constant | Description |
---|---|
|
Enables a toolbar's built-in customization features, which let the user to drag a button to a new position or to remove a button by dragging it off the toolbar. In addition, the user can double-click the toolbar to display the Customize Toolbar dialog box, which enables the user to add, delete, and rearrange toolbar buttons. |
|
Causes the control to position itself at the bottom of the parent window's client area and sets the width to be the same as the parent window's width. Status windows have this style by default. |
|
Version 4.70. Causes the control to be displayed vertically on the left side of the parent window. |
|
Prevents a two-pixel highlight from being drawn at the top of the control. |
|
Version 4.70. Causes the control to resize and move itself vertically, but not horizontally, in response to a WM_SIZE message. If CCS_NORESIZE is used, this style does not apply. |
|
Causes the control to resize and move itself horizontally, but not vertically, in response to a WM_SIZE message. If CCS_NORESIZE is used, this style does not apply. Header windows have this style by default. |
|
Prevents the control from automatically moving to the top or bottom of the parent window. Instead, the control keeps its position within the parent window despite changes to the size of the parent. If CCS_TOP or CCS_BOTTOM is also used, the height is adjusted to the default, but the position and width remain unchanged. |
|
Prevents the control from using the default width and height when setting its initial size or a new size. Instead, the control uses the width and height specified in the request for creation or sizing. |
|
Version 4.70. Causes the control to be displayed vertically on the right side of the parent window. |
|
Causes the control to position itself at the top of the parent window's client area and sets the width to be the same as the parent window's width. Toolbars have this style by default. |
|
Version 4.70. Causes the control to be displayed vertically. |
Remarks
The following topics describe additional control styles:
- Animation Control Styles
- Button Styles
- Combo Box Styles
- ComboBoxEx Control Extended Styles
- Date and Time Picker Control Styles
- Edit Control Styles
- Header Control Styles
- List Box Styles
- List-View Window Styles
- Month Calendar Control Styles
- Pager Control Styles
- Progress Bar Control Styles
- Rebar Control Styles
- Rich Edit Control Styles
- Scroll Bar Control Styles
- Static Control Styles
- Status Bar Styles
- SysLink Control Styles
- Tab Control Styles
- Toolbar Control and Button Styles
- Tooltip Styles
- Trackbar Control Styles
- Tree-View Control Window Styles
- Up-Down Control Styles
Requirements
Requirement | Value |
---|---|
Header |
|