TabCtrl_SetImageList macro

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

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

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Commctrl.h

 

 

Show: