Toolbar Button Styles

Toolbar styles that are the same in both Windows CE and Windows-based desktop platforms are described in the following table.

Style Description
TBSTYLE_BUTTON Creates a toolbar button that looks like a standard Windows 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_AUTOSIZE Calculates a button's width based on the text of the button, not on the size of the image.
TBSTYLE_DROPDOWN Creates a drop-down list button.
TBSTYLE_SEP Creates a separator, which provides a small gap between button groups. A button that has this style does not receive user input.