TCM_SETIMAGELIST

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

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later
Related macro: TabCtrl_SetImageList

Syntax

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

Parameters

himl

Handle to the image list to assign to the tab control.

Return Values

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