LVM_GETCOLUMNWIDTH message

Gets the width of a column in report or list view. You can send this message explicitly or by using the ListView_GetColumnWidth macro.

Parameters

wParam

The index of the column. This parameter is ignored in list view.

lParam

Must be zero.

Return value

Returns the column width if successful, or zero otherwise. If this message is sent to a list-view control with the LVS_REPORT style and the specified column does not exist, the return value is undefined.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h