Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Used by methods of the INameSpaceTreeControl2 to specify extended display styles in a Shell namespace treeview.
Syntax
typedef enum NSTCSTYLE2 {
NSTCS2_DEFAULT = 0,
NSTCS2_INTERRUPTNOTIFICATIONS = 0x1,
NSTCS2_SHOWNULLSPACEMENU = 0x2,
NSTCS2_DISPLAYPADDING = 0x4,
NSTCS2_DISPLAYPINNEDONLY = 0x8,
NTSCS2_NOSINGLETONAUTOEXPAND = 0x10,
NTSCS2_NEVERINSERTNONENUMERATED = 0x20
} ;
Constants
NSTCS2_DEFAULTValue: 0 Displays the tree nodes in default mode, which includes none of the following values. |
NSTCS2_INTERRUPTNOTIFICATIONSValue: 0x1 Displays interrupt notifications. |
NSTCS2_SHOWNULLSPACEMENUValue: 0x2 Displays the context menu in the padding space. |
NSTCS2_DISPLAYPADDINGValue: 0x4 Inserts spacing (padding) between top-level nodes. |
NSTCS2_DISPLAYPINNEDONLYValue: 0x8 Filters items based on the System.IsPinnedToNameSpaceTree value when INameSpaceTreeControlFolderCapabilities is implemented. |
NTSCS2_NOSINGLETONAUTOEXPANDValue: 0x10 |
NTSCS2_NEVERINSERTNONENUMERATEDValue: 0x20 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
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7 [desktop apps only] |
| Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
| Header | shobjidl.h |