Important: |
---|
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
A version of this page is also available for
4/8/2010
This message sets the left-to-right order of header items.
Syntax
HDM_SETORDERARRAY wParam = (WPARAM) (int) iSize; lParam = (LPARAM) lpiArray; |
Parameters
- 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, from left to right.
Return Value
Nonzero indicates success. Zero indicates otherwise.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |