=?UTF-8?Q?Gabriel=20Iv=C4=83ncescu=20?=: shell32/autocomplete: Pass the mouse wheel to the auto-suggest listbox, if visible.

Alexandre Julliard julliard at winehq.org
Thu Nov 8 14:47:25 CST 2018


Module: wine
Branch: master
Commit: 4234e597ef7e9fbf8e29ab68b0e5b2231b753a02
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=4234e597ef7e9fbf8e29ab68b0e5b2231b753a02

Author: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Date:   Wed Nov  7 17:14:19 2018 +0200

shell32/autocomplete: Pass the mouse wheel to the auto-suggest listbox, if visible.

Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/autocomplete.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/shell32/autocomplete.c b/dlls/shell32/autocomplete.c
index 22fc62c..705b28b 100644
--- a/dlls/shell32/autocomplete.c
+++ b/dlls/shell32/autocomplete.c
@@ -637,6 +637,10 @@ static LRESULT APIENTRY ACEditSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam,
             ret = CallWindowProcW(This->wpOrigEditProc, hwnd, uMsg, wParam, lParam);
             autocomplete_text(This, hwnd, autoappend_flag_yes);
             return ret;
+        case WM_MOUSEWHEEL:
+            if ((This->options & ACO_AUTOSUGGEST) && IsWindowVisible(This->hwndListBox))
+                return SendMessageW(This->hwndListBox, WM_MOUSEWHEEL, wParam, lParam);
+            break;
         case WM_SETFONT:
             if (This->hwndListBox)
                 SendMessageW(This->hwndListBox, WM_SETFONT, wParam, lParam);




More information about the wine-cvs mailing list