diff options
| author | nyamatongwe <devnull@localhost> | 2011-09-04 10:22:47 +1000 |
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2011-09-04 10:22:47 +1000 |
| commit | 592a3f47aab8752fe54ed7223c40cd581e829700 (patch) | |
| tree | fb497aa856d7eda0fe9e76a88716293dc65e2043 /win32/ScintillaWin.cxx | |
| parent | 225d9e45a488a2b4e212e4f73f988b613105129a (diff) | |
| download | scintilla-mirror-592a3f47aab8752fe54ed7223c40cd581e829700.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.cxx | 7 |
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 |
