Export (0) Print
Expand All
Expand Minimize

NSTCSTYLE2 enumeration

Used by methods of the INameSpaceTreeControl2 to specify extended display styles in a Shell namespace treeview.

Syntax


typedef enum NSTCSTYLE2 { 
  NSTCS2_DEFAULT                   = 0x00000000,
  NSTCS2_INTERRUPTNOTIFICATIONS    = 0x00000001,
  NSTCS2_SHOWNULLSPACEMENU         = 0x00000002,
  NSTCS2_DISPLAYPADDING            = 0x00000004,
  NSTCS2_DISPLAYPINNEDONLY         = 0x00000008,
  NSTCS2_NOSINGLETONAUTOEXPAND     = 0x00000010,
  NTSCS2_NEVERINSERTNONENUMERATED  = 0x00000020
} NSTCSTYLE2;

Constants

NSTCS2_DEFAULT

Displays the tree nodes in default mode, which includes none of the following values.

NSTCS2_INTERRUPTNOTIFICATIONS

Displays interrupt notifications.

NSTCS2_SHOWNULLSPACEMENU

Displays the context menu in the padding space.

NSTCS2_DISPLAYPADDING

Inserts spacing (padding) between top-level nodes.

NSTCS2_DISPLAYPINNEDONLY

Filters items based on the System.IsPinnedToNameSpaceTree value when INameSpaceTreeControlFolderCapabilities is implemented.

NSTCS2_NOSINGLETONAUTOEXPAND

Prevents automatic expansion of singleton nodes in the tree.

NTSCS2_NEVERINSERTNONENUMERATED

Do not insert nonenumerated (SFGAO_NONENUMERATED) items in the tree.

Remarks

The value NSTCS2_ALLMASK can be used to mask for the NSTCS2_INTERRUPTNOTIFICATIONS, NSTCS2_SHOWNULLSPACEMENU, and NSTCS2_DISPLAYPADDING values.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft