CM_SET_WIDTH_VALUE enumeration (shobjidl_core.h)

Specifies width values in pixels and includes special support for default and autosize. Used by members of the IColumnManager interface through the CM_COLUMNINFO structure.

Syntax

typedef enum CM_SET_WIDTH_VALUE {
  CM_WIDTH_USEDEFAULT = -1,
  CM_WIDTH_AUTOSIZE = -2
} ;

Constants

 
CM_WIDTH_USEDEFAULT
Value: -1
Use the default width.
CM_WIDTH_AUTOSIZE
Value: -2
Use the auto-size width.

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)