Handle IME messages in the default unicode window procedure too.
This commit is contained in:
parent
433202fe9e
commit
0e1252a8ab
|
@ -1034,6 +1034,19 @@ LRESULT WINAPI DefWindowProcW(
|
||||||
}
|
}
|
||||||
break;
|
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:
|
case WM_INPUTLANGCHANGEREQUEST:
|
||||||
/* notify about the switch only if it's really our current layout */
|
/* notify about the switch only if it's really our current layout */
|
||||||
if ((HKL)lParam == GetKeyboardLayout(0))
|
if ((HKL)lParam == GetKeyboardLayout(0))
|
||||||
|
|
Loading…
Reference in New Issue