A toolbar can have a combination of the following styles.
TBSTYLE_ALTDRAG | Allows the user to change the position of a toolbar button 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. |
TBSTYLE_TOOLTIPS | Creates a tooltip control that an application can use to display descriptive text for the buttons in the toolbar. |
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. Wrapping occurs on separation and non-group boundaries. |
A button in a toolbar can have a combination of the following styles.
TBSTYLE_BUTTON | Creates a standard push button. |
TBSTYLE_CHECK | Creates a button that toggles between the pressed and not pressed states each time the user clicks it. The button has a different background color when it is in the pressed state. |
TBSTYLE_CHECKGROUP | Creates a check button that stays pressed until another button in the group is pressed. |
TBSTYLE_GROUP | Creates a button that stays pressed until another button in the group is pressed. |
TBSTYLE_SEP | Creates a separator, providing a small gap between button groups. A button that has this style does not receive user input. |