L
Lloyd Dupont
I wrote my own C# TextBox (inherited from SWF.Control).
To do character input I'm overriding
protected virtual void OnKeyPress(KeyPressEventArgs e);
which has a property
public char KeyChar { get; set; }
However someone tried to enter some chineese character in my text box with
what he called "Microsoft's Simplified Chinese language insert tool" and he
reported various bug:
- display problem (that's probably a bug in my uniscribe wrapper)
- character double (when he wrote 2 character, he got twice the same)
- a few other..
which make me wonder, is there some special handling to do to input
international text?
Although I found some information on MSDN on IME, this is all win32 and .NET
documentation doesn't talk about that all, just like it should just work! by
overriding OnKeyPress, I suppose...
Any tip?
To do character input I'm overriding
protected virtual void OnKeyPress(KeyPressEventArgs e);
which has a property
public char KeyChar { get; set; }
However someone tried to enter some chineese character in my text box with
what he called "Microsoft's Simplified Chinese language insert tool" and he
reported various bug:
- display problem (that's probably a bug in my uniscribe wrapper)
- character double (when he wrote 2 character, he got twice the same)
- a few other..
which make me wonder, is there some special handling to do to input
international text?
Although I found some information on MSDN on IME, this is all win32 and .NET
documentation doesn't talk about that all, just like it should just work! by
overriding OnKeyPress, I suppose...
Any tip?