-5

如何删除仅知道特定列的特定项目?

4

1 回答 1

0

嗯,找到答案了..

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);
于 2013-03-15T20:31:41.207 回答