Partager via


Header_SetImageList (Compact 2013)

3/28/2014

This macro assigns an image list to an existing header control.

Syntax

#define Header_SetImageList(hwnd, himl) \
            (HIMAGELIST)SNDMSG((hwnd), HDM_SETIMAGELIST, 0, (LPARAM)himl)

Parameters

  • hwnd
    Handle to a header control.
  • himl
    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

Header

commctrl.h

See Also

Reference

Header Controls Macros
HDM_SETIMAGELIST