G
Guest
I am developing a game server browser winform application. The app will query
selected servers that are hosting a game (e.g. Quake 3), and the server will
send back a string with various info. One of these pieces of info will be a
list of players names.
My problem is, players can colour their names using ^<char>, where <char> is
a number between 0 and 9, or a letter. I am currently using a list view to
display the list of players.
Is it at all possible to have multi coloured text in a list view, or similar
control? I have seen it done in other apps (although none that are written
using the .Net framework - for example All Seeing Eye). In a web page this
would be simple - simply wrap each of the letters in the players name that
are different from the previous letters colour in a <font> tag.
All help much appreciated.
Thanks
Dan
selected servers that are hosting a game (e.g. Quake 3), and the server will
send back a string with various info. One of these pieces of info will be a
list of players names.
My problem is, players can colour their names using ^<char>, where <char> is
a number between 0 and 9, or a letter. I am currently using a list view to
display the list of players.
Is it at all possible to have multi coloured text in a list view, or similar
control? I have seen it done in other apps (although none that are written
using the .Net framework - for example All Seeing Eye). In a web page this
would be simple - simply wrap each of the letters in the players name that
are different from the previous letters colour in a <font> tag.
All help much appreciated.
Thanks
Dan