[COMCTL32][USER32] EDIT: Half-implement WM_IME_STARTCOMPOSITION (#5183)

Improve WM_IME_STARTCOMPOSITION handling in the window procedure of the EDIT control. CORE-15289, CORE-11700
This commit is contained in:
Katayama Hirofumi MZ 2023-03-23 12:24:00 +09:00 committed by GitHub
parent fe81656776
commit b25daf4b56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 0 deletions

View file

@ -4978,6 +4978,11 @@ static LRESULT CALLBACK EDIT_WindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR
case WM_IME_STARTCOMPOSITION:
es->composition_start = es->selection_end;
es->composition_len = 0;
#ifdef __REACTOS__
if (FALSE) /* FIXME: Condition */
return TRUE;
result = DefWindowProcW(hwnd, WM_IME_STARTCOMPOSITION, wParam, lParam);
#endif
break;
case WM_IME_COMPOSITION:

View file

@ -5291,6 +5291,11 @@ LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg, WPARAM wParam, LPARAM lP
case WM_IME_STARTCOMPOSITION:
es->composition_start = es->selection_end;
es->composition_len = 0;
#ifdef __REACTOS__
if (FALSE) /* FIXME: Condition */
return TRUE;
result = DefWindowProcT(hwnd, msg, wParam, lParam, unicode);
#endif
break;
case WM_IME_COMPOSITION: