Muokkaa

Jaa


HDM_SETIMAGELIST message

Assigns an image list to an existing header control. You can send this message explicitly or use the Header_SetImageList or Header_SetStateImageList macro.

Parameters

wParam

One of the following values:

Value Meaning
HDSIL_NORMAL
Indicates that this is a normal image list.
HDSIL_STATE
Indicates that this is a state image list.

lParam

A handle to an image list.

Return value

Returns the handle to the image list previously associated with the control. Returns NULL upon failure or if no image list was set previously.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h