TabCtrl_RemoveImageTabCtrl_RemoveImage*
*Contents  *Index  *Topic Contents
*Previous Topic: TabCtrl_InsertItem
*Next Topic: TabCtrl_SetCurFocus

TabCtrl_RemoveImage


void TabCtrl_RemoveImage(
    HWND hwnd, 		
    int iImage		
);		

Removes an image from a tab control's image list. You can use this macro or send the TCM_REMOVEIMAGE message explicitly.

hwnd
Handle to the tab control.
iImage
Index of the image to remove.

The tab control updates each tab's image index, so each tab remains associated with the same image as before. If a tab is using the image being removed, the tab will be set to have no image.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.