I have implemented an international text editor based on uniscribe, GDI &
GDI+.
While it display internationalized text fine I realize user input are no
good.

So far what I do: I override Control.OnKeyPressed(char keyCode);
I was expecting the appropriate char to be passed on.

Now I test with (very simple) french accent.
I was trying to type: 'ê' and I ended up with "[e"
So, how do I get a char which is a combination of multiple key strokes?

There must be an API for that, wouldn't it?

Re: entering internationalized input by Lloyd

Lloyd
Mon Nov 28 23:08:02 CST 2005

never mind, it seems to work in fact.
it's more like my current language setings changed automatically for some
reason without me being aware of it.... ?!?!

Now I keeps my eyes on the language tool bar and I could see it
changing.....

"Lloyd Dupont" <net.galador@ld> wrote in message
news:ups3xGK9FHA.472@TK2MSFTNGP15.phx.gbl...
>I have implemented an international text editor based on uniscribe, GDI &
>GDI+.
> While it display internationalized text fine I realize user input are no
> good.
>
> So far what I do: I override Control.OnKeyPressed(char keyCode);
> I was expecting the appropriate char to be passed on.
>
> Now I test with (very simple) french accent.
> I was trying to type: 'ê' and I ended up with "[e"
> So, how do I get a char which is a combination of multiple key strokes?
>
> There must be an API for that, wouldn't it?
>
>
>



Re: entering internationalized input by Mihai

Mihai
Wed Nov 30 01:36:52 CST 2005

> never mind, it seems to work in fact.
> it's more like my current language setings changed automatically for some
> reason without me being aware of it.... ?!?!
This is not as simple as it sound.
You should also try Japanese, for instance, to see how IME is handled.

--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email

Re: entering internationalized input by Lloyd

Lloyd
Wed Nov 30 04:56:09 CST 2005

well, aheum... I do what I could!
the test I was able to conduct sees to show me that single unicode
characters generated by multiple keystroke are handled automatically for me
(and passed on Control.OnKeyPressed(char c))

Maybe I should have special behavior of my text editor if I'm in the middle
of a cluster, but I have no idea...
Care to enlighten me a little bit more? :D



"Mihai N." <nmihai_year_2000@yahoo.com> wrote in message
news:Xns971DF039775D8MihaiN@207.46.248.16...
>> never mind, it seems to work in fact.
>> it's more like my current language setings changed automatically for some
>> reason without me being aware of it.... ?!?!
> This is not as simple as it sound.
> You should also try Japanese, for instance, to see how IME is handled.
>
> --
> Mihai Nita [Microsoft MVP, Windows - SDK]
> http://www.mihai-nita.net
> ------------------------------------------
> Replace _year_ with _ to get the real email