Share via


LVM_DELETEITEM

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

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

Parameters

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

Return Values

TRUE indicates success. FALSE indicates failure.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.

See Also

ListView_DeleteItem | List-View Controls Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.