TabCtrl_SetImageList macro (commctrl.h)

Assigns an image list to a tab control. You can use this macro or send the TCM_SETIMAGELIST message explicitly.

Syntax

BOOL TabCtrl_SetImageList(
   HWND       hwnd,
   HIMAGELIST himl
);

Parameters

hwnd

Type: HWND

Handle to the tab control.

himl

Type: HIMAGELIST

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

Return value

Type: BOOL

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

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header commctrl.h