CHeaderCtrl::SetOrderArray
Sets the left-to-right order of items in a header control.
BOOL SetOrderArray(
int iCount,
LPINT piArray
);
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.
Nonzero if successful; otherwise 0.
This member function implements the behavior of the Win32 macro HDM_SETORDERARRAY, as described in the Windows SDK. It is provided to support header item ordering.
See the example for CHeaderCtrl::GetOrderArray.
Header: afxcmn.h