Share via


ListView_GetColumnOrderArray

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

BOOL ListView_GetColumnOrderArray(
  HWND hwndLV, 
  int iCount, 
  int* lpiArray 
);

Parameters

  • hwndLV
    Handle to a list-view control.
  • iCount
    Number of columns in the list-view control.
  • lpiArray
    Long pointer to a buffer that will receive 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

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 if successful. Otherwise, the return value is zero.

Remarks

Related message: LVM_GETCOLUMNORDERARRAY

Requirements

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

See Also

LVM_GETCOLUMNORDERARRAY | List-View Controls Macros

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.