int OrderToIndex( int nOrder ) const;
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.
Parameters
nOrder
The zero-based order that the item appears in the header control, from left to right.
Remarks
This member function implements the behavior of the Win32 macro HDM_ORDERTOINDEX, as described in the Platform SDK. It is provided to support header item ordering.
CHeaderCtrl Overview | Class Members | Hierarchy Chart
See Also CHeaderCtrl::GetOrderArray, CHeaderCtrl::SetOrderArray