본문 바로가기

Windows/Windows API

툴바버튼 구조체 (Toolbar Button States)

Toolbar Button States


This section lists the states a toolbar button can have.

Constants

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 doesn't 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.