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