Export (0) Print
Expand All
Expand Minimize

CM_COLUMNINFO structure

Defines column information. Used by members of the IColumnManager interface.

Syntax


typedef struct CM_COLUMNINFO {
  DWORD cbSize;
  DWORD dwMask;
  DWORD dwState;
  UINT  uWidth;
  UINT  uDefaultWidth;
  UINT  uIdealWidth;
  WCHAR wszName[MAX_COLUMN_NAME_LEN];
} CM_COLUMNINFO;

Members

cbSize

Type: DWORD

The size of the structure, in bytes.

dwMask

Type: DWORD

One or more values from the CM_MASK enumeration that specify which members of this structure are valid.

dwState

Type: DWORD

One or more values from the CM_STATE enumeration that specify the state of the column.

uWidth

Type: UINT

One of the members of the CM_SET_WIDTH_VALUE enumeration that specifies the column width.

uDefaultWidth

Type: UINT

The default width of the column.

uIdealWidth

Type: UINT

The ideal width of the column.

wszName

Type: WCHAR[MAX_COLUMN_NAME_LEN]

A buffer of size MAX_COLUMN_NAME_LEN that contains the name of the column as a null-terminated Unicode string.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Shobjidl.h

IDL

Shobjidl.idl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft