Επεξεργασία

Κοινή χρήση μέσω


CM_COLUMNINFO structure (shobjidl_core.h)

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[80];
} 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[80]

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

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)