Results 1 to 2 of 2
Thread: Japanese Text and C#
-
04-28-10, 12:45 AM #1
Japanese Text and C#
I'm trying to write a program so that when the user clicks on the text box (the text box receives focus) it automatically changes the input mode to Japanese - Hiragana.
I've looked and looked and looked... and all I can find is the InputLanguageManager class, and I can .setInputLanguage(CultureClass.getCultureClass("jp ")) and it seems to do nothing...
When I print the input mode (.Current) it says it is currently in Japanese input mode, but the text is still English.
After twiddling around for about 1hr with this, trying various things... I looked into setLocaleInfo(bunch o params). It requires I [DllImport("kernel32.dll")] to declare the function... but I'm stepping into water over my head.
The basics of what this does is change the "input mode" at the O/S level to JP rather than at application level... But I can't figure this one out.
So if anyone can help me I'd greatly appreciate it.
-
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks