Export (0) Print
Expand All
Expand Minimize

EXPCMDSTATE enumeration

EXPCMDSTATE values represent the command state of a Shell item.

Syntax


typedef enum _EXPCMDSTATE { 
  ECS_ENABLED     = 0x00,
  ECS_DISABLED    = 0x01,
  ECS_HIDDEN      = 0x02,
  ECS_CHECKBOX    = 0x04,
  ECS_CHECKED     = 0x08,
  ECS_RADIOCHECK  = 0x10
} EXPCMDSTATE;

Constants

ECS_ENABLED

The item is enabled.

ECS_DISABLED

The item is unavailable. It might be displayed to the user as a dimmed, inaccessible item.

ECS_HIDDEN

The item is hidden.

ECS_CHECKBOX

The item is displayed with a check box and that check box is not checked.

ECS_CHECKED

The item is displayed with a check box and that check box is checked. ECS_CHECKED is always returned with ECS_CHECKBOX.

ECS_RADIOCHECK

Windows 7 and later. The item is one of a group of mutually exclusive options selected through a radio button. ECS_RADIOCHECK does not imply that the item is the selected option, though it might be.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

IExplorerCommand::GetState
IExplorerCommandState::GetState
Button Types

 

 

Community Additions

ADD
Show:
© 2014 Microsoft