ime

how do you use IME?

I want to make a control that handles user input, so I want to be able to handle different keyboards, and one of the ways is using IME. If you don't handle it, there is a floating window that appears when you have IME active (for example japanese writing active). I found the messages that needs to be taken care of, but I don't know how...

How to support Vietnamese IME ( UniKey )?

I already wrote the code to support Japanese IME and Chinese IME by dealing with IME messages carefully. But I found that couldn't work well to Vietanamese IME( UniKey ). For example, when I inputted the key "ee", that couldn't generate the character "ê". I found its unicode ( 0xEA ) never came from IME messages. ...

Input Method Editor windows return FALSE for WM_QUERYENDSESSION - why?

We have a bizarre and very infrequent issue where people can't log off the Windows server when our product is running. The system is multi-application, all MFC/C++. The apps are run from a management service so they survive logoff. It's been running fine for donkeys years in loads of installations around the world. I wrote a test appli...

IME - DBCS to virtual key code??

For each key input, WndProc usually receives WM-KEY-DOWN and WM-KEY-UP. However, when IME is in conversion status for Asian languages, WndProc receive WM-IME-COMPOSITION and WM-KEY-UP. no WM-KEY-DOWN.. According to msdn([http://msdn.microsoft.com/en-us/library/dd374133%28VS.85%29.aspx%5D%5B1%5D), WM-IME-COMPOSITION message's wParam is.....

How to retrieve keystroke/character mapping table from Microsoft IME program?

Hi, I want to know how to retrieve the character mapping table from ms IME? When the user key in "gao xing", ms IME will display 高兴 in Chinese. What I want to achieve is the other way round; when user key in 高兴, the program will convert it to "gao xing". In order to do that, I need a database / mapping table for this. And I guess MS ...

Working with IME names in Delphi

Hi, Delphi TScreen object has a collection that accepts IME names. And the TControl offers SetIMEName method. Are these IME names constant? Are they same as ISO language names? Platform: Windows XP. Thanks, Pavan. ...

Windows: Language Bar will not show input method options for some of my windows

I am trying to make our application properly handle international input. Since we handle text input and font rendering ourselves, I wrote custom code to handle the respective WM_IME_* messages. Now, this all works fine, with one exception: When our applications main window is open, the Language Bar will not let me pick any options. I ca...

Deactivate ime mode onBlur

Hi. I have an input field whose imeMode is set active. So when I enter this field it activates my imeMode so I can type japanese. But when I leave this textfield my ime is still active. How do i deactivate ime upon leaving the field. I can maybe put something on onblur but Don't know what to do there. I foolishly tried setting this textf...

C# and IME - getting the current input text

I'm using the Japanese IME as an example but it is probably the same in other languages which use an IME for input. When the user types text into a textbox using the IME, the KeyDown and KeyUp events are fired. However the TextBox.Text property does not return the typed text until the user has validated the input in the IME using the En...

Not able to get IME Input Context through C++ (ImmGetContext)

Hi I am trying to disable the IME on notepad using the following psuedo code: MakeNotepadActiveWindow();//Notepad is already open and set to Japanese IME HWND hwnd = GetTheHWNDForNotepad(); HIMC context = ImmGetContext(hwnd); if(context == NULL) printf("context is null %d ",GetLastError()); and the above code is always giving me the...

Opera IME support

Hi, i am currently trying to get Input Mode Editor (IME) support working with a designMode enabled IFrame. The problem here is with Opera it seems I don't get any useful notifications from the IME. It seems I get a single keydown with a keycode of 197 if the first time the IME is used - and nothing else ever again (No keycode 229 messa...

How to set the Windows Mobile 6 IME mode (to numbers only)

In Windows Mobile 5 one of the following methods works to set an input to numbers only: // Managed InputModeEditor.SetInputMode(textBox, InputMode.Numeric); // Native Wrapper InputModeSupport.SHSetImeMode(textBox.Handle, InputModeSupport.SHIME_MODE.SHIME_MODE_NUMBERS); In Windows Mobile 6, neither works. How do you set the IME to "N...

Does anyone know why does silverlight not provide ime support when the plugin is set to 'windowless=true'

in silverlight(until version 4), if you set the property 'windowless' of the sl plugin to 'true', you can not get any ime support in textbox. does anyone know why? is it security concern or something else? ...

How to determine the current IME in Android?

I have an application where I would like to warn the user if they are not using the default Android softkeyboard. (i.e. they are using Swype or some thing else). How can I check which input method they currently have selected? Thanks ...

Looking for tutorials/examples on creating fullscreen IME in Android

Hi everybody I am currently trying to develop a fullscreen input method for Android, but I have a hard time finding any hints on this. The only examples and tutorials to be found are for non-fullscreen IMEs and mention fullscreen mode only very briefly. Also every tutorial about input methods seems to assume that the input method has g...

Android: How/where to put gesture code into IME?

Hi, I'm new to Android but I'm trying to create an IME that allows for gesture-character recognition. I can already do simple apps that perform gesture recognition but am not sure where to hook in the gesture views/obj with an IME. Here is a starting skeleton of what I have for the IME so far. I would like to use android.gesture.Gestu...

How to get Japanese text input for a custom text box

I have yet to implement it, however I cannot seem to find any examples on this and I am looking for pointers on the matter before I start. Do I just create a caret and position it where I want the input to occur? Do I need to actually draw the caret via the Win32 API? In general, how does the IME decide where to put text and how to re...

How to use windows IME in delphi?

I have several keyboards and they type in different TMemos. In english, everything works fine, but in Korean the keystrokes get sent to the IME before it sends it to my onKeypress (which handles/identifies the different keyboards), so I can't exactly tell which keyboard it came from before that. I don't exactly know how to use WinApi, b...

Can I send string to IME (Windows) to get translation?

For example (I'm using Korean IME btw) can I get 태우다 from sending "xodnek" (as a string)? If that isn't possible, can I get 태우다 from it's individual characters ㅌㅐㅇㅜㄷㅏ (which is from the keys "xodnek"). ...

How will I convert characters? Or other solutions.

I found out (though my other question) that my IME outputs Hangul Compatibility Jamo (U+3130 – U+318F) instead of regular Hangul Jamo(U+1100 – U+11FF). So I tried asking a question in superuser about other IMEs, no replies yet. Should I just convert it myself? What exactly does that entail? Is it too complicated? Any ideas on how to? ...