TCM_REMOVEIMAGE

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

TCM_REMOVEIMAGE

wParam = (WPARAM) (int) iImage; // index of the image to remove

lParam = 0; // not used; must be zero

Parameters

iImage

Index of the image to remove.

Return Values

No return value.

Remarks

The tab control updates each tab's image index, so each tab remains associated with the same image it had been.

See Also

TabCtrl_RemoveImage