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 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.