CHeaderCtrl::OrderToIndex
Retrieves the index value for an item based on its order in the header control.
int OrderToIndex(
int nOrder
) const;
Parameters
- nOrder
The zero-based order that the item appears in the header control, from left to right.
Return Value
The index of the item, based on its order in the header control. The index counts from left to right, beginning with 0.
Remarks
This member function implements the behavior of the Win32 macro HDM_ORDERTOINDEX, as described in the Windows SDK. It is provided to support header item ordering.
Requirements
Header: afxcmn.h