Hi everyone,
I have problems with implementing the Input Method Editor API.

Our application runs on a Win2000 machine with a TouchScreen, this means there are neither mouse nor external keyboard. We have implemented a virtual keyboard instead (the virtual keyboard shipped with win2k is too small).

Everything works fine so far, but now we have to support asian languages.

The IME is activated with Load/ActivateKeyboardLayout functions set to approbriate KLID.

When the user klicks on a virt key-button the IMECompositionWindow and IMECanditatesWindow are being showed automatically, but unfortunately over the virtual keyboard. So I need to know two things:

1. How can I position the IME windows?

2. When the user clicks on the ENTER-button I have to end the IME session (=closing CompWindow). How can I do this?

I've searched the msdn and found the IME-Api (imm32.dll), but when I subclass my own WindowsProcedure I don't receive any WM_IME_* messages.

Is there anybody out there who can help me?

thx,
hitman


-----------------------------------------------------------------------------------
"If a trainstation is where the train stops, what's a workstation...?" - Anonymous