https://git.reactos.org/?p=reactos.git;a=commitdiff;h=be518f9f5a5d1c3cc0ef765ca16e4f3dfd1ffbc6

commit be518f9f5a5d1c3cc0ef765ca16e4f3dfd1ffbc6
Author:     Katayama Hirofumi MZ <[email protected]>
AuthorDate: Wed Mar 22 09:09:38 2023 +0900
Commit:     GitHub <[email protected]>
CommitDate: Wed Mar 22 09:09:38 2023 +0900

    [COMCTL32][USER32] EDIT: Default processing on WM_IME_SELECT/WM_IME_CONTROL 
(#5173)
    
    Do default processing on WM_IME_SELECT and WM_IME_CONTROL messages in EDIT 
controls. CORE-11700, CORE-15289
---
 dll/win32/comctl32/edit.c           | 6 ++++++
 win32ss/user/user32/controls/edit.c | 6 ++++++
 2 files changed, 12 insertions(+)

diff --git a/dll/win32/comctl32/edit.c b/dll/win32/comctl32/edit.c
index 15365715bb3..0a0023908a6 100644
--- a/dll/win32/comctl32/edit.c
+++ b/dll/win32/comctl32/edit.c
@@ -4997,9 +4997,15 @@ static LRESULT CALLBACK EDIT_WindowProc(HWND hwnd, UINT 
msg, WPARAM wParam, LPAR
         break;
 
     case WM_IME_SELECT:
+#ifdef __REACTOS__
+        result = DefWindowProcW(hwnd, msg, wParam, lParam);
+#endif
         break;
 
     case WM_IME_CONTROL:
+#ifdef __REACTOS__
+        result = DefWindowProcW(hwnd, msg, wParam, lParam);
+#endif
         break;
 
     case WM_IME_REQUEST:
diff --git a/win32ss/user/user32/controls/edit.c 
b/win32ss/user/user32/controls/edit.c
index 46a0ed5b8b7..419f13ff16e 100644
--- a/win32ss/user/user32/controls/edit.c
+++ b/win32ss/user/user32/controls/edit.c
@@ -5310,9 +5310,15 @@ LRESULT WINAPI EditWndProc_common( HWND hwnd, UINT msg, 
WPARAM wParam, LPARAM lP
                break;
 
        case WM_IME_SELECT:
+#ifdef __REACTOS__
+               result = DefWindowProcT(hwnd, msg, wParam, lParam, unicode);
+#endif
                break;
 
        case WM_IME_CONTROL:
+#ifdef __REACTOS__
+               result = DefWindowProcT(hwnd, msg, wParam, lParam, unicode);
+#endif
                break;
 
        case WM_IME_REQUEST:

Reply via email to