LVM_SETCOLUMNORDERARRAY

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

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;

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.

Nonzero indicates success. Zero indicates otherwise.

Headercommctrl.h
Windows Embedded CEWindows CE 2.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show: