Header_SetImageList

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

Header Controls Macros
HDM_SETIMAGELIST