Am 25.09.2012 14:48, schrieb Aric Stewart:
also you eliminate the part where if the incoming hWndIME is NULL we send the message to the thread's default IME window.
my changes made an app happy IIRC, further i think i was skeptical about IMM_GetThreadData()->hwndDefault because of the dead code. maybe it should be patched in again, not sure.
I would be curious about this. What was your app and could I test it? I find there are many applications that are half-ime aware. That use ImmIsUIMessage with a NULL hwnd and expect the message to be processed but the default IME window. So we need that behavior to remain true.
I would be curious why your app was unhappy about that.
I don't remember the app, be free to patch it in again, at best with tests.