HDM_SETIMAGELIST (Compact 2013)

3/28/2014

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

Syntax

HDM_SETIMAGELIST wParam = 0; 
    lParam = (LPARAM) himl;

Parameters

  • himl
    Handle to an image list.
  • lParam
    Not used.

Return Value

Returns the handle to the image list previously associated with the control. The message returns NULL upon failure, or if no image list was set previously.

Requirements

Header

commctrl.h

See Also

Reference

Header Controls Messages
Header_SetImageList