This topic has not yet been rated - Rate this topic

NSTCITEMSTATE enumeration

Applies to: desktop apps only

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

Minimum supported server

Windows Server 2008 R2

Header

Shobjidl.h

IDL

Shobjidl.idl

See also

INameSpaceTreeControl::GetItemState
INameSpaceTreeControl::SetItemState

 

 

Send comments about this topic to Microsoft

Build date: 3/7/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ