May 25th, 2003, 05:51 AM
How to change the default IME programatically
I need to change the default IME to Japanese.
So that when a user presses keys in a text box, japanese
letters will be coming automatically.
By default english letters will be coming. After we set to MS IME Japanese, then only japanese letters will be coming.
I am having Japanese m/c.
Thanks in Advance
May 25th, 2003, 01:49 PM
Actually I'd be interested in this as well.
I haven't much looked into the specifics, but maybe you can use ImmAssociateContext to set a new IME to the textbox. I'm not sure how exactly this is done though.
Get this small utility
to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
Supports C++ and VB out of the box, but can be configured for other languages.
September 30th, 2003, 02:35 AM
I too need help on IME settings
Hi cherian_2002 and Yves M, (sorry I don't know your actual names)
Is anyone of you able to do this? Actually I have done it to some extent. In my case placing the focus on an edit control that needs Japanese Input, changes the IME bar input script to 'Hiragana' settings. But while inputting the text, character that appears are Katakana. Can u help me?
September 30th, 2003, 10:45 PM
You need to set different Conversion status flags for Hiragana and katakana.
For Hiragana set flag as
IME_CMODE_JAPANESE | IME_CMODE_FULLSHAPE
For katakana set flag value as
IME_CMODE_NATIVE | IME_CMODE_KATAKANA
And in ImmSetConversionStatus() set this flag value
September 30th, 2003, 11:20 PM
Thank you for the help
Thank you for the information.
Actually I was not ORing IME_CMODE_FULLSHAPE flag with IME_CMODE_NATIVE. Thanks again.
Click Here to Expand Forum to Full Width
This a Codeguru.com survey!