CHeader.SetItemWidthmethod
Sets the width of the specified item of a header control.
Syntax
FUNCTION SetItemWidth (BYVAL hHeader AS HWND, BYVAL iItem AS LONG, BYVAL nWidth AS LONG) AS BOOLEAN
Parameters
| Name | Description | |
|---|---|---|
hHeader | The handle of the header control. | |
iItem | The index of the item whose width will be changed. | |
nWidth | The new width of the item. |
Return value
Returns TRUE if successful, or FALSE otherwise.
Description
Sets the width of the specified item of a header control.
Reference
- Include file
CHeader.inc - Defined in AfxNova/CHeader.inc:538
- Documented in Windows/WIndows Controls/CHeader Class.md
- Topic: CHeader Class