CHeader.SetItemmethod
Sets the attributes of the specified item in a header control.
Syntax
FUNCTION SetItem (BYVAL hHeader AS HWND, BYVAL i AS DWORD, BYVAL phdi AS HDITEMW PTR) AS LONG
FUNCTION SetItem (BYVAL hHeader AS HWND, BYVAL i AS DWORD, BYREF hdi AS HDITEMW) AS LONG
Parameters
| Name | Description | |
|---|---|---|
hHeader | The handle of the header control. | |
i | The index of the item whose attributes are to be changed. | |
phdi | A pointer to an HDITEM structure that contains item information. When this message is sent, the mask member of the structure must be set to indicate which attributes are being set |
Return value
Returns nonzero upon success, or zero otherwise.
Description
Sets the attributes of the specified item in a header control.
Reference
- Include file
CHeader.inc - Defined in AfxNova/CHeader.inc:488
- Documented in Windows/WIndows Controls/CHeader Class.md
- Topic: CHeader Class