ListView_GetColumnOrderArray macro (commctrl.h)

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

Syntax

void ListView_GetColumnOrderArray(
   hwnd,
   iCount,
   pi
);

Parameters

hwnd

Type: HWND

A handle to a list-view control.

iCount

Type: int

The number of columns in the list-view control.

pi

Type: int*

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

Return value

None

Requirements

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