DeleteItem清除不干净ListControl 求助
我想删除listcontrol(report形式)显示中某些特定行,但总是清除不尽,
flag和hona是cstring型的数据
for (j=0;j<100;j++)
{
if ( (_tcscmp(flag,pDlg->m_List_DownLoad.GetItemText(j,0))==0) &&
(_tcscmp(hona,pDlg->m_List_DownLoad.GetItemText(j,1))==0) )
{
pDlg->m_List_DownLoad.DeleteItem(j);
}
}
求帮助