Help Center

CHeader.SetImageListmethod

Assigns an image list to an existing header control.

WindowsmethodCHeader.incdocumented

Syntax

FUNCTION SetImageList (BYVAL hHeader AS HWND, BYVAL himl AS HIMAGELIST) AS HIMAGELIST

Parameters

NameDescription
hHeaderThe handle of the header control.
himlA handle to an image list.

Return value

Returns the handle to the image list previously assigned to the header control, or NULL if there is no previous image list.

Description

Assigns an image list to an existing header control.

Reference

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