NSTCSTYLE2 enumeration (shobjidl.h)
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_DEFAULT Value: 0 Displays the tree nodes in default mode, which includes none of the following values. |
NSTCS2_INTERRUPTNOTIFICATIONS Value: 0x1 Displays interrupt notifications. |
NSTCS2_SHOWNULLSPACEMENU Value: 0x2 Displays the context menu in the padding space. |
NSTCS2_DISPLAYPADDING Value: 0x4 Inserts spacing (padding) between top-level nodes. |
NSTCS2_DISPLAYPINNEDONLY Value: 0x8 Filters items based on the System.IsPinnedToNameSpaceTree value when INameSpaceTreeControlFolderCapabilities is implemented. |
NTSCS2_NOSINGLETONAUTOEXPAND Value: 0x10 |
NTSCS2_NEVERINSERTNONENUMERATED Value: 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 |
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για