Help Center

CHeader.SetFocusedItemmethod

Sets the focus to a specified item in a header control.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION SetFocusedItem (BYVAL hHeader AS HWND, BYVAL iItem AS LONG) AS BOOLEAN

Parameters

NameDescription
hHeaderThe handle of the header control.
iItemThe index of item.

Return value

Returns TRUE if successful, or FALSE otherwise.

Description

Sets the focus to a specified item in a header control.

Reference

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