THUMBBUTTONFLAGS enumeration (shobjidl_core.h)

Used by THUMBBUTTON to control specific states and behaviors of the button.

Syntax

typedef enum THUMBBUTTONFLAGS {
  THBF_ENABLED = 0,
  THBF_DISABLED = 0x1,
  THBF_DISMISSONCLICK = 0x2,
  THBF_NOBACKGROUND = 0x4,
  THBF_HIDDEN = 0x8,
  THBF_NONINTERACTIVE = 0x10
} ;

Constants

 
THBF_ENABLED
Value: 0
The button is active and available to the user.
THBF_DISABLED
Value: 0x1
The button is disabled. It is present, but has a visual state that indicates that it will not respond to user action.
THBF_DISMISSONCLICK
Value: 0x2
When the button is clicked, the taskbar button's flyout closes immediately.
THBF_NOBACKGROUND
Value: 0x4
Do not draw a button border, use only the image.
THBF_HIDDEN
Value: 0x8
The button is not shown to the user.
THBF_NONINTERACTIVE
Value: 0x10
The button is enabled but not interactive; no pressed button state is drawn. This value is intended for instances where the button is used in a notification.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)

See also

THUMBBUTTON

THUMBBUTTONMASK