Hello,

I'm trying to write my own triple tap input method editor (IME). As a
starting point i use the freely available source code of the SmartPhone
PhoneIME.

Now I'm in the state, that the IME is working within cmd.exe. In all other
windows nothing happens.

I debugged the IEM and see, that at the end of conversion the composition
string is updated and the message WM_IME_COMPOSITION followed by
WM_IME_ENDCOMPOSITION is send with function ImmGenerateMessage() to the IMM.
For me it looks like the DefWindowProc() of the normal edit window does not
interpret the WM_IME_xx messages and so the messages are ignored.



My Question:

If I want to write IME that works with IME unaware windows, what must be
done ?



Please help me. I'm totally confused.



Thank you

Holger

RE: InputMethodEditor IME by holger

holger
Thu Apr 13 02:12:02 CDT 2006

Hello again,
I have no set a breakpoint to DefWindowProc().
But the WM_IME_ messages are not send to DefWindowPorc().

Can someone explain.
Please give me some input. I don't know how to proceed.
Regards
Holger




"Holger" wrote:

> Hello,
>
> I'm trying to write my own triple tap input method editor (IME). As a
> starting point i use the freely available source code of the SmartPhone
> PhoneIME.
>
> Now I'm in the state, that the IME is working within cmd.exe. In all other
> windows nothing happens.
>
> I debugged the IEM and see, that at the end of conversion the composition
> string is updated and the message WM_IME_COMPOSITION followed by
> WM_IME_ENDCOMPOSITION is send with function ImmGenerateMessage() to the IMM.
> For me it looks like the DefWindowProc() of the normal edit window does not
> interpret the WM_IME_xx messages and so the messages are ignored.
>
>
>
> My Question:
>
> If I want to write IME that works with IME unaware windows, what must be
> done ?
>
>
>
> Please help me. I'm totally confused.
>
>
>
> Thank you
>
> Holger
>
>
>
>
>

Re: InputMethodEditor IME by Holger

Holger
Tue Apr 18 14:27:53 CDT 2006

Hello
After debugging a lot i have found my error.
It's very important that you have not set IMELEVL to 3 in registry. If you
have, you will never receive WM_IME_ messages in your IME.

Regards
Holger


"holger" <holger@discussions.microsoft.com> schrieb im Newsbeitrag
news:09000410-8737-445A-8004-189F8334ADD2@microsoft.com...
> Hello again,
> I have no set a breakpoint to DefWindowProc().
> But the WM_IME_ messages are not send to DefWindowPorc().
>
> Can someone explain.
> Please give me some input. I don't know how to proceed.
> Regards
> Holger
>
>
>
>
> "Holger" wrote:
>
> > Hello,
> >
> > I'm trying to write my own triple tap input method editor (IME). As a
> > starting point i use the freely available source code of the SmartPhone
> > PhoneIME.
> >
> > Now I'm in the state, that the IME is working within cmd.exe. In all
other
> > windows nothing happens.
> >
> > I debugged the IEM and see, that at the end of conversion the
composition
> > string is updated and the message WM_IME_COMPOSITION followed by
> > WM_IME_ENDCOMPOSITION is send with function ImmGenerateMessage() to the
IMM.
> > For me it looks like the DefWindowProc() of the normal edit window does
not
> > interpret the WM_IME_xx messages and so the messages are ignored.
> >
> >
> >
> > My Question:
> >
> > If I want to write IME that works with IME unaware windows, what must be
> > done ?
> >
> >
> >
> > Please help me. I'm totally confused.
> >
> >
> >
> > Thank you
> >
> > Holger
> >
> >
> >
> >
> >