Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This macro sets the left-to-right order of header items.
#define Header_SetOrderArray(hwnd, iCount, lpi) \ (BOOL)SNDMSG((hwnd), HDM_SETORDERARRAY, \ (WPARAM)iCount, (LPARAM)lpi)
Parameters
- hwnd
Handle to a header control. - iCount
Size of the buffer at lpi, in elements. This value must equal the value returned by HDM_GETITEMCOUNT. - lpi
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
OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
See Also
Header Controls Macros | HDM_GETITEMCOUNT | HDM_SETORDERARRAY
Send Feedback on this topic to the authors