Help Center

CHeader.GetItemWidthmethod

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

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION GetItemWidth (BYVAL hHeader AS HWND, BYVAL iItem AS LONG) AS LONG

Parameters

NameDescription
hHeaderThe handle of the header control.
iItemThe zero-based index of the header control item for which to retrieve the width.

Return value

The width of the item.

Description

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

Reference

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