TCM_SETIMAGELIST (Compact 2013)

3/28/2014

This message assigns an image list to a tab control. You can send this message explicitly or by using the TabCtrl_SetImageList macro.

Syntax

TCM_SETIMAGELIST wParam = 0; 
    lParam = (LPARAM)(HIMAGELIST) himl;

Parameters

  • wParam
    Not used.
  • himl
    Handle to the image list to assign to the tab control.

Return Value

The handle to the previous image list indicates success. NULL indicates that there is no previous image list.

Requirements

Header

commctrl.h

See Also

Reference

Tab Controls Messages
TabCtrl_SetImageList