CHeader.SetItemOrdermethod
Sets the order of the specified item of a header control.
Syntax
FUNCTION SetItemOrder (BYVAL hHeader AS HWND, BYVAL nItem AS LONG, BYVAL iOrder AS LONG) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hHeader | The handle of the header control. | |
iItem | The index of the item whose attributes are to be changed. | |
iOrder | The 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