我用以下语句试了一下:<br>//hwnd是syslistview32的句柄<br>//syslistview的每一行第一个元素是图标,其subitem都是文本<br>var<br> lvi:TLVITEM;<br> iItem:integer;<br>begin<br> iItem:=ListView_GetItemCount(hwnd);<br> ListView_SetItemCount(hwnd,iItem+1);<br> lvi.mask:= LVIF_PARAM or LVIF_IMAGE;<br> lvi.iItem:=iItem;<br> lvi.state:=0;<br> lvi.iSubItem:=0;<br> lvi.iImage:=I_IMAGECALLBACK;<br> iItem:=ListView_InsertItem(hwnd,lvi);<br><br> if iItem>0 then<br> begin<br> ListView_SetItemText(hwnd,iItem,1,'111erwewr);<br> ListView_SetItemText(hwnd,iItem,2,'8088');<br> .....<br> end;<br>.....<br>结果是:subitem的文本能显示出来,第一列的图标无法显示。本来双击一行会出现编辑框的,但双击新插入的这一行没有反应。<br> 请指教,thanks