Help Center

CHeader.SetItemOrdermethod

Sets the order of the specified item of a header control.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION SetItemOrder (BYVAL hHeader AS HWND, BYVAL nItem AS LONG, BYVAL iOrder AS LONG) AS LONG

Parameters

NameDescription
hHeaderThe handle of the header control.
iItemThe index of the item whose attributes are to be changed.
iOrderThe order in which the item appears within the header control, from left to right. That is, the value for the far left item is 0. The value for the next item to the right is 1, and so on.

Return value

Returns TRUE upon success, or FALSE otherwise.

Description

Sets the order of the specified item of a header control.

Reference

  • Include file CHeader.inc
  • Defined in AfxNova/CHeader.inc:501
  • Documented in Windows/WIndows Controls/CHeader Class.md
  • Topic: CHeader Class