diff options
author | George Hazan <ghazan@miranda.im> | 2019-11-01 14:36:21 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2019-11-01 14:36:21 +0300 |
commit | 8e8c80d9c99db7a0bf8272ad468fc7d5ea06dd8f (patch) | |
tree | cb2b41fa512c22d929b6bee2657d6c4e09175c25 /plugins/Scriver | |
parent | 2a74ebc02a6fbd049eae161e458fdbf3b1b7a374 (diff) |
fixes mouse scrolling in Scriver
Diffstat (limited to 'plugins/Scriver')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 01449bb762..7fad1b8f79 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -957,6 +957,11 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) break;
case WM_MOUSEWHEEL:
+ if ((GetWindowLongPtr(m_message.GetHwnd(), GWL_STYLE) & WS_VSCROLL) == 0)
+ SendMessage(m_pLog->GetHwnd(), WM_MOUSEWHEEL, wParam, lParam);
+
+ __fallthrough;
+
case WM_LBUTTONDOWN:
case WM_RBUTTONDOWN:
case WM_MBUTTONDOWN:
|