Export (0) Print
Expand All

HDM_SETORDERARRAY message

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

Parameters

wParam

The size of the buffer at lParam, in elements. This value must equal the value returned by HDM_GETITEMCOUNT.

lParam

A 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, from left to right.

Return value

Returns nonzero if successful, or zero otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft