[PATCH 5/5] shell32/autocomplete: Pass the mouse wheel to the auto-suggest listbox, if visible
Gabriel Ivăncescu
gabrielopcode at gmail.com
Wed Nov 7 09:14:19 CST 2018
Signed-off-by: Gabriel Ivăncescu <gabrielopcode at gmail.com>
---
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);
--
2.19.1
More information about the wine-devel
mailing list