Share via


HDM_ORDERTOINDEX

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This message retrieves an index value for an item based on its order in the header control.

Syntax

HDM_ORDERTOINDEX wParam = (WPARAM) iOrder; 
    lParam = 0;

Parameters

  • iOrder
    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
    Not used.

Return Value

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

Requirements

Header commctrl.h
Windows Embedded CE Windows CE 2.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Header Controls Messages
Header_OrderToIndex