ListView_SetColumnOrderArray (Windows CE 5.0)

Send Feedback

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

BOOL ListView_SetColumnOrderArray(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 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

TRUE indicates success. FALSE indicates failure.

Remarks

Related message:LVM_SETCOLUMNORDERARRAY

Requirements

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

See Also

LVM_SETCOLUMNORDERARRAY | List-View Controls Macros

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.