LVM_GETCOLUMNORDERARRAY message

Gets the current left-to-right order of columns in a list-view control. You can send this message explicitly or use the ListView_GetColumnOrderArray macro.

Parameters

wParam

The number of columns in the list-view control.

lParam

A pointer to an array of integers that receives the index values of the columns in the list-view control. The array must be large enough to hold wParam elements.

Return value

If successful, returns nonzero, and the buffer at lParam receives the column index of each column in the control in the order they appear from left to right. Otherwise, the return value is zero.

Requirements

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