ListViewItem.SubItem richtext

elbad

New member
Joined
Dec 5, 2005
Messages
1
Programming Experience
3-5
Hi There,

I am currently using the .NET Framework 1.1. I have a searchbox that searches for text in a database, and posts the results in a ListView on my form. This works fine, and displays the results according to probability fine.

What I am trying to do is make the searched text in the listview bold and red, for example :

ListViewSubItem.Text = "testing", and a user searches for "sti", then the ListViewSubItem.Text displays as "testing" in the listview item.

I know how to do this in .NET Framework 2.0 as the ListViewSubItem.DrawItem Event exists and can be overwritten, but in Framework 1.1 I can't figure out how to do it.

Thanks in advance to anyone,
Regards,
Elrico Heinen
 
Back
Top