G
Guest
I have asked this in the windowsforms forum, but thought I would try this one
too just in case. 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.
Just for the record, I am not interested in the RichTextBox control. This
data needs to be displayed in a grid-like control.
All help much appreciated.
Thanks
Dan
too just in case. 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.
Just for the record, I am not interested in the RichTextBox control. This
data needs to be displayed in a grid-like control.
All help much appreciated.
Thanks
Dan