CHeaderCtrl::OrderToIndex
Retrieves the index value for an item based on its order in the header control.
int OrderToIndex(
int nOrder
) const;
- nOrder
The zero-based order that the item appears in the header control, from left to right.
The index of the item, based on its order in the header control. The index counts from left to right, beginning with 0.
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.
Header: afxcmn.h