Domanda

How Can I delete specific item with only know specific column ?

È stato utile?

Soluzione

Well, Found an answer ..

LVITEM lvi;
ZeroMemory(&lvi, sizeof(LVITEM));
lvi.pszText = "SomeText";
lvi.iSubItem = 1;
SendMessage(GetDlgItem(hWindow, IDC_LIST_USERS), LVM_GETITEM, 0, (LPARAM)(&lvi));
SendMessage(GetDlgItem(hWindow, IDC_LIST_USERS) , LVM_DELETEITEM, lvi.iItem, 0);
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top