SHCOLSTATE Enumeration

Describes how a property should be treated. These values are defined in Shtypes.h.

Syntax

typedef enum tagSHCOLSTATE {
  SHCOLSTATE_DEFAULT,
  SHCOLSTATE_TYPE_STR,
  SHCOLSTATE_TYPE_INT,
  SHCOLSTATE_TYPE_DATE,
  SHCOLSTATE_TYPEMASK,
  SHCOLSTATE_ONBYDEFAULT,
  SHCOLSTATE_SLOW,
  SHCOLSTATE_EXTENDED,
  SHCOLSTATE_SECONDARYUI,
  SHCOLSTATE_HIDDEN,
  SHCOLSTATE_PREFER_VARCMP,
  SHCOLSTATE_PREFER_FMTCMP,
  SHCOLSTATE_NOSORTBYFOLDERNESS,
  SHCOLSTATE_VIEWONLY,
  SHCOLSTATE_BATCHREAD,
  SHCOLSTATE_NO_GROUPBY,
  SHCOLSTATE_FIXED_WIDTH,
  SHCOLSTATE_NODPISCALE,
  SHCOLSTATE_FIXED_RATIO,
  SHCOLSTATE_DISPLAYMASK
} SHCOLSTATE;

Constants

SHCOLSTATE_DEFAULT The value is displayed according to default settings for the column.
SHCOLSTATE_TYPE_STR The value is displayed as a string.
SHCOLSTATE_TYPE_INT The value is displayed as an integer.
SHCOLSTATE_TYPE_DATE The value is displayed as a date/time.
SHCOLSTATE_TYPEMASK A mask for display type values SHCOLSTATE_TYPE_STR, SHCOLSTATE_TYPE_STR, and SHCOLSTATE_TYPE_DATE.
SHCOLSTATE_ONBYDEFAULT The column should be on by default in Details view.
SHCOLSTATE_SLOW Will be slow to compute. Perform on a background thread.
SHCOLSTATE_EXTENDED Provided by a handler, not the folder.
SHCOLSTATE_SECONDARYUI Not displayed in the context menu, but is listed in the More... dialog.
SHCOLSTATE_HIDDEN Not displayed in the UI.
SHCOLSTATE_PREFER_VARCMP VarCmp produces same result as IShellFolder::CompareIDs.
SHCOLSTATE_PREFER_FMTCMP PSFormatForDisplay produces same result as IShellFolder::CompareIDs.
SHCOLSTATE_NOSORTBYFOLDERNESS Do not sort folders separately.
SHCOLSTATE_VIEWONLY Only displayed in the UI.
SHCOLSTATE_BATCHREAD Marks columns with values that should be read in a batch.
SHCOLSTATE_NO_GROUPBY Grouping is disabled for this column.
SHCOLSTATE_FIXED_WIDTH Can't resize the column.
SHCOLSTATE_NODPISCALE The width is the same in all dpi.
SHCOLSTATE_FIXED_RATIO Fixed width and height ratio.
SHCOLSTATE_DISPLAYMASK Filters out new display flags.

Requirements

   
Minimum supported client Windows Vista, Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Header shtypes.h