USER32: handle IME messages in the default unicode window procedure
too
Mike McCormack
mike at codeweavers.com
Mon Jan 3 23:47:06 CST 2005
ChangeLog:
Aric Stewart <aric at codeweavers.com>
* handle IME messages in the default unicode window procedure too
-------------- next part --------------
Index: windows/defwnd.c
===================================================================
RCS file: /home/wine/wine/windows/defwnd.c,v
retrieving revision 1.97
diff -u -r1.97 defwnd.c
--- windows/defwnd.c 23 Dec 2004 17:21:05 -0000 1.97
+++ windows/defwnd.c 4 Jan 2005 05:45:58 -0000
@@ -1034,6 +1034,19 @@
}
break;
+ case WM_IME_STARTCOMPOSITION:
+ case WM_IME_COMPOSITION:
+ case WM_IME_ENDCOMPOSITION:
+ case WM_IME_SELECT:
+ {
+ HWND hwndIME;
+
+ hwndIME = DEFWND_ImmGetDefaultIMEWnd( hwnd );
+ if (hwndIME)
+ result = SendMessageW( hwndIME, msg, wParam, lParam );
+ }
+ break;
+
case WM_INPUTLANGCHANGEREQUEST:
/* notify about the switch only if it's really our current layout */
if ((HKL)lParam == GetKeyboardLayout(0))
More information about the wine-patches
mailing list