Header_SetOrderArray

This macro sets the left-to-right order of header items.

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

Parameters

  • 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
    Long pointer to 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 in that order.

Return Values

Nonzero indicates success. Zero indicates otherwise.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 1.0 and later Commctrl.h   Commctrl.lib

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

HDM_GETITEMCOUNT, HDM_SETORDERARRAY

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.