Share via


LVM_SETCOLUMNORDERARRAY

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

LVM_SETCOLUMNORDERARRAY wParam = (WPARAM) (int) iCount;
  lParam = (LPARAM) (LPINT) lpiArray;

Parameters

  • iCount
    Size, in elements, of the buffer at lpiArray.
  • lpiArray
    Long pointer to an array that specifies the order in which columns should be displayed, in left-to-right order. For example, if the contents of the array are {2,0,1}, the control displays column 2, column 0, and column 1 in that order.

Return Values

Nonzero indicates success. Zero indicates otherwise.

Remarks

Related macro: ListView_SetColumnOrderArray

Requirements

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

See Also

ListView_SetColumnOrderArray | List-View Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.