_NSTCITEMSTATE Enumeration

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

Syntax

typedef enum _NSTCITEMSTATE {
  NSTCIS_NONE,
  NSTCIS_SELECTED,
  NSTCIS_EXPANDED,
  NSTCIS_BOLD,
  NSTCIS_DISABLED,
  NSTCIS_SELECTEDNOEXPAND
} ;

Constants

NSTCIS_NONE The item has default state; it is not selected, expanded, bolded or disabled.
NSTCIS_SELECTED The item is selected.
NSTCIS_EXPANDED The item is expanded.
NSTCIS_BOLD The item is bold.
NSTCIS_DISABLED The item is disabled.
NSTCIS_SELECTEDNOEXPAND Windows 7 and later. The item is selected, but not expanded.

Requirements

   
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