Header_SetOrderArrayHeader_SetOrderArray*
*Contents  *Index  *Topic Contents
*Previous Topic: Header_SetItem
*Next Topic: Header_SetUnicodeFormat

Header_SetOrderArray


BOOL Header_SetOrderArray(
    HWND hwndHD,
    int iSize,
    int *lpiArray
);

Sets the left-to-right order of header items. You can use this macro or send the HDM_SETORDERARRAY message explicitly.

hwndHD
Handle to a header control.
iSize
Size of the buffer at lpiArray, in elements. This value must equal the value returned by HDM_GETITEMCOUNT.
lpiArray
Address of an array that specifies the order in which items should be displayed, from left to right. For example, if the contents of the array are {2,0,1}, the control displays item 2, item 0, and item 1, from left to right.

Version 4.70


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