Page 1 of 1

RVStyleDrawStyleText draw function quesstion

Posted: Sat Jan 19, 2008 3:43 am
by newfile
i use RVStyleDrawStyleText function draw text background and text , text is unicode , It's wrong when draw the text ,it's confusion, can you help me ,this textstyle's unicode property set true

it's ok

Posted: Sat Jan 19, 2008 4:02 am
by newfile
use it

Sender.TextStyles[CONST_SendNameFont].Draw(s, Canvas, StyleNo, SpaceBefore, Left, Top, Width,
Height, 1, Sender, DrawState, false, false, rvcmColor, rvbdUnspecified);


tks~

Posted: Sat Jan 19, 2008 3:27 pm
by Sergey Tkachenko
If this is an Unicode text style, s must contain "raw Unicode" string (two characters in s must represent one Unicode character).
How do you get text in s?