HDM_ORDERTOINDEX

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

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.

Return Values

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

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

Header_OrderToIndex

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.