CHeaderCtrl::SetOrderArray

BOOL SetOrderArray( int iCount, LPINT piArray );

Return Value

Nonzero if successful; otherwise 0.

Parameters

iCount

The number of header control items.

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.

Remarks

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

CHeaderCtrl OverviewClass MembersHierarchy Chart

See Also   CHeaderCtrl::GetOrderArray, CHeaderCtrl::OrderToIndex