Click to See Complete Forum and Search --> : Ampersand(&) in listbox?


Quakey
April 16th, 1999, 09:51 PM
Hi there,
I noticed that using CListBox::AddString() to add a string containing ampersand(&) and it appear as an underline in the listbox. How can I correct it? Thanks.

Nath
April 17th, 1999, 04:30 AM
Hi,

Did you try to make :

AddString("\&MyString");
I think it will do : &MyString

To make a \ type \\ and so on, the caracter '\' is an escape caracter...

Hope this helps.
Nath.