diff options
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 20349589f0..037f1eef6d 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -1705,6 +1705,10 @@ INT_PTR CSrmmWindow::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) }
switch (((MSGFILTER *)lParam)->msg) {
+ case WM_RBUTTONUP:
+ SetWindowLongPtr(m_hwnd, DWLP_MSGRESULT, TRUE);
+ return TRUE;
+
case WM_CHAR:
if (!(GetKeyState(VK_CONTROL) & 0x8000)) {
SetFocus(m_message.GetHwnd());
@@ -1716,6 +1720,13 @@ INT_PTR CSrmmWindow::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) break;
}
break;
+
+ case IDC_MESSAGE:
+ if (pNmhdr->code == EN_MSGFILTER && ((MSGFILTER *)lParam)->msg == WM_RBUTTONUP) {
+ SetWindowLongPtr(m_hwnd, DWLP_MSGRESULT, TRUE);
+ return TRUE;
+ }
+ break;
}
break;
|