如何在ListCtrl空间中搜索指定的内容。
bolm 2003-09-12 02:59:31 CString str;
int nIndex;
LVFINDINFO info;
GetDlgItemText(IDC_SEARCHEDIT,str);
info.flags = LVFI_PARTIAL|LVFI_STRING;
info.psz = str;
while ((nIndex=m_ListCtrl.FindItem(&info)) != -1)
{
m_ListCtrl.SetHotItem(nIndex);
}
这段代码为何不能查找。请指示,谢谢!!!