BeegOrange
Programmer
Hi,
I just cant seem to find the way to populate columns in a list view.
That is, I CAN POPULATE THE FIRST COLUMN, but not second, third etc! How exactly is it done??
I have used code like this:
1. theCtrl.InsertItem(0, fd.cFileName , NULL);
and
2. theCtrl.InsertItem(LVIF_TEXT|LVIF_STATE, i++, fd.cFileName ,(i%2)==0 ? LVIS_SELECTED : 0, LVIS_SELECTED,0, 0);
But how do I get to the subsequent columns?
Thanks in advance!
I just cant seem to find the way to populate columns in a list view.
That is, I CAN POPULATE THE FIRST COLUMN, but not second, third etc! How exactly is it done??
I have used code like this:
1. theCtrl.InsertItem(0, fd.cFileName , NULL);
and
2. theCtrl.InsertItem(LVIF_TEXT|LVIF_STATE, i++, fd.cFileName ,(i%2)==0 ? LVIS_SELECTED : 0, LVIS_SELECTED,0, 0);
But how do I get to the subsequent columns?
Thanks in advance!