ListView_SetColumnOrderArrayListView_SetColumnOrderArray*
*Contents  *Index  *Topic Contents
*Previous Topic: ListView_SetColumn
*Next Topic: ListView_SetColumnWidth

ListView_SetColumnOrderArray


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

Sets the left-to-right order of columns in a list view control. You can use this macro or send the LVM_SETCOLUMNORDERARRAY message explicitly.

hwndLV
Handle to a list view control.
iCount
Number of columns in the list view control.
lpiArray
Address of an array specifying the order in which columns should be displayed, from left to right. For example, if the contents of the array are {2,0,1}, the control displays column 2, column 0, and column 1, from left to right.

Version 4.70


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.