LVM_GETCOLUMNORDERARRAY

This message retrieves the current left-to-right order of columns in a list-view control.

LVM_GETCOLUMNORDERARRAY wParam = (WPARAM) (int) iCount;
  lParam = (LPARAM) lpiArray;

Parameters

  • iCount
    Number of columns in the list-view control.
  • lpiArray
    Long pointer to a buffer that receives the index values of the columns in the list-view control. The buffer must be large enough to hold the total number of columns * sizeof(int).

Return Values

If successful, returns nonzero and the buffer at lpiArray 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

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

ListView_GetColumnOrderArray | List-View Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.