Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21096

[RESOLVED] DrawTextW & TextWidth problem with UniCode text

$
0
0
Hello,

I just spotted a problem with DrawTextW & TextWidth. I have my Custom uniLabel control.

It all works fine, until I tested a few greek & bulgarian alphabets.

Basically the text gets CUT OFF. It seems usercontrol.textWidth() isn't returning the correct width of the string!

This mainly happens if say the text/string contains both Latin & Cyrillic characters!!

textWidth isn't calculating the width of the characters correctly... any ideas?

Viewing all articles
Browse latest Browse all 21096

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>