Handle IME messages in the default unicode window procedure too.

This commit is contained in:
Aric Stewart 2005-01-04 11:54:27 +00:00 committed by Alexandre Julliard
parent 433202fe9e
commit 0e1252a8ab
1 changed files with 13 additions and 0 deletions

View File

@ -1034,6 +1034,19 @@ LRESULT WINAPI DefWindowProcW(
}
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))