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

lParam = (LPARAM) (LPINT) lpiArray;


  • 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.


Related macro: ListView_SetColumnOrderArray


Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.