Prev Next

TCM_SETIMAGELIST Overview  Group

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

TCM_SETIMAGELIST 

wParam = 0;                           // not used; must be zero 

lParam = (LPARAM) (HIMAGELIST) himl;  // handle of image list to assign to tab control 

 

Parameters

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

Return Values

Returns the handle to the previous image list or NULL if there is no previous image list.

See Also

TabCtrl_SetImageList