dynamic_sysop
Senior Contributor
ok i now know how to remove an item from a listview in vb.net by comparing it, a few things that i'd like to know ( if these things are possible )
1, i run an msn chatroom, there are various member profile icons and i filter all the usernames on joining a chatroom with my client, however an owner = "gold hammer" icon and a host = "brown hammer" icon, now these appear at the top of the list normally in a chtroom, but the only way to get them to the top and make them stay there is to put a space before the name ( the problem is that this mixes host and owner icons together and "gold" should be at the very top followed by "brown", basically to cut it short is it possible to tell a listview that if a name has a gold or brown icon next to it that them names should be at the top of the list?
2, in vb6 using custom control pack 6 i can change the colour of a particular line in a listview, so if i join a chatroom and someone is marked as "away" my client put's a cup next to the persons name and shades the name grey. is it possible to do something like this in .net?
in vb6 i'd use something like Lview.Listitems(i).Forecolor = &000 etc...
1, i run an msn chatroom, there are various member profile icons and i filter all the usernames on joining a chatroom with my client, however an owner = "gold hammer" icon and a host = "brown hammer" icon, now these appear at the top of the list normally in a chtroom, but the only way to get them to the top and make them stay there is to put a space before the name ( the problem is that this mixes host and owner icons together and "gold" should be at the very top followed by "brown", basically to cut it short is it possible to tell a listview that if a name has a gold or brown icon next to it that them names should be at the top of the list?
2, in vb6 using custom control pack 6 i can change the colour of a particular line in a listview, so if i join a chatroom and someone is marked as "away" my client put's a cup next to the persons name and shades the name grey. is it possible to do something like this in .net?
in vb6 i'd use something like Lview.Listitems(i).Forecolor = &000 etc...