CHeaderCtrl::GetOrderArray

BOOL GetOrderArray( LPINT piArray, int iCount = -1 );

Return Value

Nonzero if successful; otherwise 0.

Parameters

piArray

A pointer to the address of a buffer that receives the index values of the items in the header control, in the order in which they appear from left to right.

iCount

The number of header control items.

Remarks

This member function implements the behavior of the Win32 message HDM_GETORDERARRAY, as described in the Platform SDK. It is provided to support header item ordering.

If you use iCount’s default value, GetOrderArray fills the parameter using GetItemCount.

CHeaderCtrl OverviewClass MembersHierarchy Chart

See Also   CHeaderCtrl::SetOrderArray, CHeaderCtrl::OrderToIndex