TCM_REMOVEIMAGETCM_REMOVEIMAGE*
*Contents  *Index  *Topic Contents
*Previous Topic: TCM_INSERTITEM
*Next Topic: TCM_SETCURFOCUS

TCM_REMOVEIMAGE


TCM_REMOVEIMAGE 
    wParam = (WPARAM) (int) iImage;
    lParam = 0;

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

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.