If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Re: UNICODE+VB6

Sorry for dropping in late here.
>I'm perplexed. VB strings are all Unicode internally. If you assign a string
>to a caption of, say a label control, it should display correctly (on NT).

But AFAIK, windowed VB controls are ANSI even on NT, created with
CreateWindowExA. IsWindowUnicode returns FALSE. Doesn't that matter?

Also, I think I read somewhere that VB sets all text/caption
properties using SetWindowTextA or SendMessageA(WM_SETTEXT). So no
Unicode strings would make it through without first being converted to
ANSI.

I'm not sure what happens for windowless controls like Labels. I guess
it depends on which function VB uses to draw the caption.