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              = 0x0000,
  NSTCIS_SELECTED          = 0x0001,
  NSTCIS_EXPANDED          = 0x0002,
  NSTCIS_BOLD              = 0x0004,
  NSTCIS_DISABLED          = 0x0008,
  NSTCIS_SELECTEDNOEXPAND  = 0x0010
} NSTCITEMSTATE;

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.h

IDL

Shobjidl.idl

See also

INameSpaceTreeControl::GetItemState
INameSpaceTreeControl::SetItemState

 

 

Show: