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.
Describes how a property should be treated. These values are defined in Shtypes.h.
Syntax
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;
Constants
SHCOLSTATE_DEFAULTValue: 0 The value is displayed according to default settings for the column. |
SHCOLSTATE_TYPE_STRValue: 0x1 The value is displayed as a string. |
SHCOLSTATE_TYPE_INTValue: 0x2 The value is displayed as an integer. |
SHCOLSTATE_TYPE_DATEValue: 0x3 The value is displayed as a date/time. |
SHCOLSTATE_TYPEMASKValue: 0xf A mask for display type values SHCOLSTATE_TYPE_STR, SHCOLSTATE_TYPE_INT, and SHCOLSTATE_TYPE_DATE. |
SHCOLSTATE_ONBYDEFAULTValue: 0x10 The column should be on by default in Details view. |
SHCOLSTATE_SLOWValue: 0x20 Will be slow to compute. Perform on a background thread. |
SHCOLSTATE_EXTENDEDValue: 0x40 Provided by a handler, not the folder. |
SHCOLSTATE_SECONDARYUIValue: 0x80 Not displayed in the context menu, but is listed in the More... dialog. |
SHCOLSTATE_HIDDENValue: 0x100 Not displayed in the UI. |
SHCOLSTATE_PREFER_VARCMPValue: 0x200 VarCmp produces same result as IShellFolder::CompareIDs. |
SHCOLSTATE_PREFER_FMTCMPValue: 0x400 PSFormatForDisplay produces same result as IShellFolder::CompareIDs. |
SHCOLSTATE_NOSORTBYFOLDERNESSValue: 0x800 Do not sort folders separately. |
SHCOLSTATE_VIEWONLYValue: 0x10000 Only displayed in the UI. |
SHCOLSTATE_BATCHREADValue: 0x20000 Marks columns with values that should be read in a batch. |
SHCOLSTATE_NO_GROUPBYValue: 0x40000 Grouping is disabled for this column. |
SHCOLSTATE_FIXED_WIDTHValue: 0x1000 Can't resize the column. |
SHCOLSTATE_NODPISCALEValue: 0x2000 The width is the same in all dpi. |
SHCOLSTATE_FIXED_RATIOValue: 0x4000 Fixed width and height ratio. |
SHCOLSTATE_DISPLAYMASKValue: 0xf000 Filters out new display flags. |
Requirements
| 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 |