Hi it's possible to delete a LVITEM of winapi form¿??.. My winapi function will show a list of items and i search my item with the follow way..
1 2 3 4 5 6 7 8 9 10
staticconstwchar_t *item=L"ITEM OR MY PROGRAM";
if ( msg == LVM_INSERTITEMW || msg == LVM_SETITEMW)
{
if (!lstrcmpW(((LVITEMW*)lparam)->pszText, item))
{
//here i will delete this item
returnfalse;
}
}
I include this because normally the items are included using LVM_INSERTITEM or the LVM_SETITEM, so if it's the same item then i will not show it but my subitems are visibles....example: