Export (0) Print
Expand All

HDM_ORDERTOINDEX message

Retrieves an index value for an item based on its order in the header control. You can send this message explicitly or use the Header_OrderToIndex macro.

Parameters

wParam

The order in which the item appears within the header control, from left to right. For example, the index value of the item in the far left column would be 0. The value for the next item to the right would be 1, and so on.

lParam
Must be zero.

Return value

Returns INT that indicates the item index. If wParam is invalid (negative or too large), the return equals wParam.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft