-
May 25th, 2003, 05:51 AM
#1
How to change the default IME programatically
Hi All,
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
Cherian
-
May 25th, 2003, 01:49 PM
#2
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
#3
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?
With Regards,
Sandhya
-
September 30th, 2003, 10:45 PM
#4
Hello Sandhya,
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
rgds
Vinod
-
September 30th, 2003, 11:20 PM
#5
Thank you for the help
Hi Vinod,
Thank you for the information.
Actually I was not ORing IME_CMODE_FULLSHAPE flag with IME_CMODE_NATIVE. Thanks again.
With Regards,
Sandhya
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|