G
Guest
We have a custom word processing type editor built with C# and .NET 2.0 and
we need to support typing in languages other than English. I want to be
able to use the Windows IME to enter in text similar to how it works in a
text box.
For example, if I put focus on a TextBox and then switch my language on the
language bar to Japanese or Chinese, several buttons appear on the language
bar including Input Mode, Input Style, Conversion Mode, etc. I can then
switch my Input Mode to Hiragana, for example. Then when I type in “kaâ€
into the textbox, a Japanese letter appears.
However on the same form, if I click on a control derived from UserControl,
the buttons on the language bar become disabled so I can’t change the Input
Mode. If I type “kaâ€, I get “ka†instead of the Japanese character.
What do I need to do in order to enable the buttons on the language bar so I
can change the input mode? It’s like I need to tell the IME that my control
is IME aware, but I have no idea how to do that.
we need to support typing in languages other than English. I want to be
able to use the Windows IME to enter in text similar to how it works in a
text box.
For example, if I put focus on a TextBox and then switch my language on the
language bar to Japanese or Chinese, several buttons appear on the language
bar including Input Mode, Input Style, Conversion Mode, etc. I can then
switch my Input Mode to Hiragana, for example. Then when I type in “kaâ€
into the textbox, a Japanese letter appears.
However on the same form, if I click on a control derived from UserControl,
the buttons on the language bar become disabled so I can’t change the Input
Mode. If I type “kaâ€, I get “ka†instead of the Japanese character.
What do I need to do in order to enable the buttons on the language bar so I
can change the input mode? It’s like I need to tell the IME that my control
is IME aware, but I have no idea how to do that.