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

lParam = (LPARAM) lpiArray;


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


Runs on Versions Defined in Include Link to
Windows CE OS 1.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.

See Also


 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.