aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/ScintillaWin.cxx
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-09-04 10:22:47 +1000
committernyamatongwe <unknown>2011-09-04 10:22:47 +1000
commit88bd2188c961dd57cc515b285fd7f4812888f5cf (patch)
treeb60e0a32bf4d3be068cc09dfaffa3948c9cda961 /win32/ScintillaWin.cxx
parent22edeb6d8fd99407534b4f630266ed5c904cf6a1 (diff)
downloadscintilla-mirror-88bd2188c961dd57cc515b285fd7f4812888f5cf.tar.gz
Autocompletion lists respond to mouse wheel events. Feature #3403600.
From David Wolfendale.
Diffstat (limited to 'win32/ScintillaWin.cxx')
-rw-r--r--win32/ScintillaWin.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/ScintillaWin.cxx b/win32/ScintillaWin.cxx
index 9925a64bb..d1f450479 100644
--- a/win32/ScintillaWin.cxx
+++ b/win32/ScintillaWin.cxx
@@ -680,6 +680,13 @@ sptr_t ScintillaWin::WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam
break;
case WM_MOUSEWHEEL:
+ // if autocomplete list active then send mousewheel message to it
+ if (ac.Active()) {
+ HWND hWnd = reinterpret_cast<HWND>(ac.lb->GetID());
+ ::SendMessage(hWnd, iMessage, wParam, lParam);
+ break;
+ }
+
// Don't handle datazoom.
// (A good idea for datazoom would be to "fold" or "unfold" details.
// i.e. if datazoomed out only class structures are visible, when datazooming in the control