Page 1 of 1

euro not displaying in richedit using ALT+0128

Posted: Wed Aug 23, 2006 10:11 pm
by TomD
I've got a TRichViewEdit control on a new form with all defaults set (including a default style control)

when I type the key combination ALT+0128 (which is the euro symbol) I get a funky character (a y with some dots on top)

can anyone tell me what I need to do in order to display the correctly?

I can copy the € from the charmap in windows into the control and it displays just fine, so I know the control can handle it... it seems like it doesn't like the ALT+keycode combination

help please!!

Tom :?:

Posted: Thu Aug 24, 2006 11:40 am
by Sergey Tkachenko
Probably the current text is not Unicode and its charset has another character with the code 128.

grr... my bad

Posted: Thu Aug 24, 2006 7:06 pm
by TomD
actually it was a bug of my own creation - I was subclassing the rvscroller class and must have missed something - took it out and everything is working fine again.