Share via


LVM_DELETEITEM (Compact 2013)

3/28/2014

This message removes an item from a list-view control. You can send this message explicitly or by using the ListView_DeleteItem macro.

Syntax

LVM_DELETEITEM wParam = (WPARAM)(int) iItem; 
    lParam = 0;

Parameters

  • iItem
    Index of the list-view item to delete.
  • lParam
    Not used.

Return Value

TRUE indicates success. FALSE indicates failure.

Requirements

Header

commctrl.h

See Also

Reference

List-View Controls Messages
ListView_DeleteItem