W winni Unregistered / Unconfirmed GUEST, unregistred user! 2007-05-29 #1 可以用LVM_GETITEMTEXT获得listview的头一排内容,那后面是subitem怎么获得????
Y ysai Unregistered / Unconfirmed GUEST, unregistred user! 2007-05-29 #2 var szText : array[0..MAXBYTE] of char; begin ListView_GetItemText(ListView1.Handle, 0, 1, szText, MAXBYTE); //ListView1.Items[0].SubItems[1] Caption := StrPas(szText); end
var szText : array[0..MAXBYTE] of char; begin ListView_GetItemText(ListView1.Handle, 0, 1, szText, MAXBYTE); //ListView1.Items[0].SubItems[1] Caption := StrPas(szText); end
W winni Unregistered / Unconfirmed GUEST, unregistred user! 2007-05-29 #6 谢谢啦,我没认真看,TLVItem有一个iSubItem