BOOL ListView_DeleteAllItems(
HWND hwnd
);
__________
LVM_DELETEALLITEMS
wParam = 0;
lParam = 0;
Removes all items from a list view control. You can send this message explicitly or by using the ListView_DeleteAllItems macro.
Returns TRUE if successful, or FALSE otherwise.
__________
LVN_DELETEALLITEMS
pnmv = (LPNMLISTVIEW) lParam;
Notifies a list view control's parent window that all items in the control are about to be deleted. This notification message is sent in the form of a WM_NOTIFY message.
To suppress subsequent LVN_DELETEITEM notification messages, return TRUE.
To receive subsequent LVN_DELETEITEM notification messages, return FALSE.
pnmv
Address of an NMLISTVIEW structure. The iItem member is -1, and the other members are zero.