Share via


Header_SetImageList (Windows Embedded CE 6.0)

1/6/2010

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
Windows Embedded CE Windows CE 1.0 and later

See Also

Reference

Header Controls Macros
HDM_SETIMAGELIST