SHCOLSTATE enumeration (shtypes.h)
Describes how a property should be treated. These values are defined in Shtypes.h.
typedef enum tagSHCOLSTATE {
SHCOLSTATE_DEFAULT = 0,
SHCOLSTATE_TYPE_STR = 0x1,
SHCOLSTATE_TYPE_INT = 0x2,
SHCOLSTATE_TYPE_DATE = 0x3,
SHCOLSTATE_TYPEMASK = 0xf,
SHCOLSTATE_ONBYDEFAULT = 0x10,
SHCOLSTATE_SLOW = 0x20,
SHCOLSTATE_EXTENDED = 0x40,
SHCOLSTATE_SECONDARYUI = 0x80,
SHCOLSTATE_HIDDEN = 0x100,
SHCOLSTATE_PREFER_VARCMP = 0x200,
SHCOLSTATE_PREFER_FMTCMP = 0x400,
SHCOLSTATE_NOSORTBYFOLDERNESS = 0x800,
SHCOLSTATE_VIEWONLY = 0x10000,
SHCOLSTATE_BATCHREAD = 0x20000,
SHCOLSTATE_NO_GROUPBY = 0x40000,
SHCOLSTATE_FIXED_WIDTH = 0x1000,
SHCOLSTATE_NODPISCALE = 0x2000,
SHCOLSTATE_FIXED_RATIO = 0x4000,
SHCOLSTATE_DISPLAYMASK = 0xf000
} SHCOLSTATE;
SHCOLSTATE_DEFAULT Value: 0 The value is displayed according to default settings for the column. |
SHCOLSTATE_TYPE_STR Value: 0x1 The value is displayed as a string. |
SHCOLSTATE_TYPE_INT Value: 0x2 The value is displayed as an integer. |
SHCOLSTATE_TYPE_DATE Value: 0x3 The value is displayed as a date/time. |
SHCOLSTATE_TYPEMASK Value: 0xf A mask for display type values SHCOLSTATE_TYPE_STR, SHCOLSTATE_TYPE_INT, and SHCOLSTATE_TYPE_DATE. |
SHCOLSTATE_ONBYDEFAULT Value: 0x10 The column should be on by default in Details view. |
SHCOLSTATE_SLOW Value: 0x20 Will be slow to compute. Perform on a background thread. |
SHCOLSTATE_EXTENDED Value: 0x40 Provided by a handler, not the folder. |
SHCOLSTATE_SECONDARYUI Value: 0x80 Not displayed in the context menu, but is listed in the More... dialog. |
SHCOLSTATE_HIDDEN Value: 0x100 Not displayed in the UI. |
SHCOLSTATE_PREFER_VARCMP Value: 0x200 VarCmp produces same result as IShellFolder::CompareIDs. |
SHCOLSTATE_PREFER_FMTCMP Value: 0x400 PSFormatForDisplay produces same result as IShellFolder::CompareIDs. |
SHCOLSTATE_NOSORTBYFOLDERNESS Value: 0x800 Do not sort folders separately. |
SHCOLSTATE_VIEWONLY Value: 0x10000 Only displayed in the UI. |
SHCOLSTATE_BATCHREAD Value: 0x20000 Marks columns with values that should be read in a batch. |
SHCOLSTATE_NO_GROUPBY Value: 0x40000 Grouping is disabled for this column. |
SHCOLSTATE_FIXED_WIDTH Value: 0x1000 Can't resize the column. |
SHCOLSTATE_NODPISCALE Value: 0x2000 The width is the same in all dpi. |
SHCOLSTATE_FIXED_RATIO Value: 0x4000 Fixed width and height ratio. |
SHCOLSTATE_DISPLAYMASK Value: 0xf000 Filters out new display flags. |
Requirement | Value |
---|---|
Minimum supported client | Windows Vista, Windows 7 [desktop apps only] |
Minimum supported server | Windows Server 2008 R2 [desktop apps only] |
Header | shtypes.h |