mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[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:
parent
fe81656776
commit
b25daf4b56
2 changed files with 10 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue