Header_SetImageList macro

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

Syntax


HIMAGELIST Header_SetImageList(
   HWND       hwndHD,
   HIMAGELIST himl
);

Parameters

hwndHD

Type: HWND

A handle to a header control.

himl

Type: HIMAGELIST

A 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.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: