Help Center

CHeader.SetStateImageListmethod

Assigns an image list to an existing header control.

WindowsmethodCHeader.incdocumented

Syntax

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

Parameters

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

Return value

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

Description

Assigns an image list to an existing header control state.

Reference

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