The HDM_DELETEITEM message deletes an item from a header control. You can send this message explicitly or by using the Header_DeleteItem macro.
HDM_DELETEITEM
wParam = (WPARAM) (int) index;
lParam = 0;
Parameters
index
Index of the item to delete.
Return Values
If the operation succeeds, the return value is TRUE.
If the operation fails, the return value is FALSE.
See Also