_NSTCITEMSTATE enumeration (shobjidl_core.h)

Specifies the state of a tree item. These values are used by methods of the INameSpaceTreeControl interface.

Syntax

typedef enum _NSTCITEMSTATE {
  NSTCIS_NONE = 0,
  NSTCIS_SELECTED = 0x1,
  NSTCIS_EXPANDED = 0x2,
  NSTCIS_BOLD = 0x4,
  NSTCIS_DISABLED = 0x8,
  NSTCIS_SELECTEDNOEXPAND = 0x10
} ;

Constants

 
NSTCIS_NONE
Value: 0
The item has default state; it is not selected, expanded, bolded or disabled.
NSTCIS_SELECTED
Value: 0x1
The item is selected.
NSTCIS_EXPANDED
Value: 0x2
The item is expanded.
NSTCIS_BOLD
Value: 0x4
The item is bold.
NSTCIS_DISABLED
Value: 0x8
The item is disabled.
NSTCIS_SELECTEDNOEXPAND
Value: 0x10
Windows 7 and later. The item is selected, but not expanded.

Requirements

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

See also

INameSpaceTreeControl::GetItemState

INameSpaceTreeControl::SetItemState