Header_SetStateImageList macro (commctrl.h)

Assigns an image list to an existing header control state.

Syntax

BOOL Header_SetStateImageList(
   HWND       hwnd,
   HIMAGELIST himl
);

Parameters

hwnd

Type: HWND

A handle to a header control.

himl

Type: HIMAGELIST

A handle to an image list control.

Return value

Type: BOOL

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header commctrl.h