Toolbar Button States

This section lists the states a toolbar button can have.

Constant Description
TBSTATE_CHECKED
The button has the TBSTYLE_CHECK style and is being clicked.
TBSTATE_ELLIPSES
Version 4.70. The button's text is cut off and an ellipsis is displayed.
TBSTATE_ENABLED
The button accepts user input. A button that does not have this state is grayed.
TBSTATE_HIDDEN
The button is not visible and cannot receive user input.
TBSTATE_INDETERMINATE
The button is grayed.
TBSTATE_MARKED
Version 4.71. The button is marked. The interpretation of a marked item is dependent upon the application.
TBSTATE_PRESSED
The button is being clicked.
TBSTATE_WRAP
The button is followed by a line break. The button must also have the TBSTATE_ENABLED state.

Remarks

A toolbar may have a combination of states.

Requirements

Requirement Value
Header
CommCtrl.h