Share via


TabCtrl_SetImageList

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

BOOL TabCtrl_SetImageList( 
HWND hwnd, 
HIMAGELIST himl );

Parameters

  • hwnd
    Handle to the tab control.
  • 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.

Requirements

Runs on Versions Defined in Include Link to
Windows CE OS 2.0 and later Commctrl.h    

Note   This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.

See Also

TCM_SETIMAGELIST

 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.