TCM_DELETEITEM

The TCM_DELETEITEM message removes an item from a tab control. You can send this message explicitly or by using the TabCtrl_DeleteItem macro.

TCM_DELETEITEM

wParam = (WPARAM) (int) iItem; // index of the item to delete

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

Parameters

iItem

Index of the item to delete.

Return Values

Returns TRUE if successful or FALSE otherwise.

See Also

TabCtrl_DeleteItem