Help Center

CHeader.SetItemTextmethod

Sets the text of the specified item.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION SetItemText (BYVAL hHeader AS HWND, BYVAL iItem AS LONG, BYVAL pwszText AS WSTRING PTR) AS BOOLEAN
Also documented as SetText — one description covers them all.

Parameters

NameDescription
hHeaderThe handle of the header control.
iItemThe index of the item whose text will be changed.
pwszTextThe text to set.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Sets the text of the specified item.

Reference

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