Help Center

CHeader.SetItemWidthmethod

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

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION SetItemWidth (BYVAL hHeader AS HWND, BYVAL iItem AS LONG, BYVAL nWidth AS LONG) AS BOOLEAN

Parameters

NameDescription
hHeaderThe handle of the header control.
iItemThe index of the item whose width will be changed.
nWidthThe 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