Re: Win32Lib and Unicode

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> 
> CChris wrote:
> > 
> > If your tooltip control can handle 16-bit strings, you are done. Otherwise,
> > we'll have to go Larry's route, and this won't be on the next release I'm
> > afraid.
> 
> Yes, I'd looked at possibly doing this previously.  You'd need to change all
> 
> of the dll imports from using the ansi to using the wide versions (i.e., 
> CreateWindowA vs CreateWindowW).  Plus you'd have to do the string conversions
> every time the user passed a string to the library.  It's a lot of work.
> 
> Matt

OK Chris and Matt, thanks for looking at this, I think I'm gonna settle for what
I've got. I've found that the existing tooltip displays the correct character
from the UFT-8 conversion up to unicode #FF, #00 by just passing the first byte.
That covers most of the characters I need and since the wPutsW works fine for all
the unicode I'll stick with that for now..

Thanks PeteS

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu