Hi

I want to show the character when I receive WM_IME_CHAR message

Thanks
Andrew

Re: show wide character by Onega

Onega
Fri Feb 06 07:25:50 CST 2004

use unicode version of API such as
DrawTextW ()

Best Regards
Onega
www.fruitfruit.com

"Andrew" <anonymous@discussions.microsoft.com> wrote in message
news:D1D9CCBE-31DE-4DB6-8E83-52BD227D1E09@microsoft.com...
> Hi,
>
> I want to show the character when I receive WM_IME_CHAR message.
>
> Thanks,
> Andrew



Re: show wide character by Hendrik

Hendrik
Fri Feb 06 08:45:20 CST 2004

Andrew <anonymous@discussions.microsoft.com> wrote:
> But the function need a character as a parameter, and now I just have a character code only. Can anyone tell me how to translate
> the character code (e.g. 56495) to the mbcs character?

What's "character" but some piece of memory
where the character code is stored?

> Thanks in advance,
> Andrew

Schobi

--
SpamTrap@gmx.de is never read
I'm Schobi at suespammers dot org

"Sometimes compilers are so much more reasonable than people."
Scott Meyers



Re: show wide character by Marius

Marius
Fri Feb 06 09:13:14 CST 2004

Use TCHAR... or _T('c'); // unicode 'c' .. w/ UNICODE and _UNICODE defined.

Marius

"Andrew" <anonymous@discussions.microsoft.com> wrote in message
news:14071985-BDD5-4124-BE48-A5633F8E3455@microsoft.com...
> But the function need a character as a parameter, and now I just have a
character code only. Can anyone tell me how to translate the character code
(e.g. 56495) to the mbcs character?
>
> Thanks in advance,
> Andrew
>
>
> ----- Onega wrote: -----
>
> use unicode version of API such as
> DrawTextW ()
>
> Best Regards
> Onega
> www.fruitfruit.com
>
> "Andrew" <anonymous@discussions.microsoft.com> wrote in message
> news:D1D9CCBE-31DE-4DB6-8E83-52BD227D1E09@microsoft.com...
> > Hi,
> >> I want to show the character when I receive WM_IME_CHAR message.
> >> Thanks,
> > Andrew
>
>
>