CM_STATE enumeration (shobjidl_core.h)

Specifies column state values. Used by members of the IColumnManager interface through the CM_COLUMNINFO structure.

Syntax

typedef enum CM_STATE {
  CM_STATE_NONE = 0,
  CM_STATE_VISIBLE = 0x1,
  CM_STATE_FIXEDWIDTH = 0x2,
  CM_STATE_NOSORTBYFOLDERNESS = 0x4,
  CM_STATE_ALWAYSVISIBLE = 0x8
} ;

Constants

 
CM_STATE_NONE
Value: 0
The column is not currently displayed.
CM_STATE_VISIBLE
Value: 0x1
The column is currently displayed.
CM_STATE_FIXEDWIDTH
Value: 0x2
The column cannot be resized.
CM_STATE_NOSORTBYFOLDERNESS
Value: 0x4
Do not sort folders separately.
CM_STATE_ALWAYSVISIBLE
Value: 0x8
The column cannot be hidden.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header shobjidl_core.h (include Shobjidl.h)