diff options
author | George Hazan <george.hazan@gmail.com> | 2024-03-15 18:47:45 +0300 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2024-03-15 18:47:45 +0300 |
commit | 42fee4bf18089b08790194f64687158e344e56b1 (patch) | |
tree | 0b0a6eb299b8e9f748de96e91f17bbafa73695da /plugins/Scriver/src/msgdialog.cpp | |
parent | 478b3261723a914310271ece3ef91abc9ce2b4cc (diff) |
WM_DROPFILES / WM_PASTE processing unification
Diffstat (limited to 'plugins/Scriver/src/msgdialog.cpp')
-rw-r--r-- | plugins/Scriver/src/msgdialog.cpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/plugins/Scriver/src/msgdialog.cpp b/plugins/Scriver/src/msgdialog.cpp index 145e7500ee..55e47e594d 100644 --- a/plugins/Scriver/src/msgdialog.cpp +++ b/plugins/Scriver/src/msgdialog.cpp @@ -777,23 +777,6 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) }
break;
- case EM_PASTESPECIAL:
- case WM_PASTE:
- if (IsClipboardFormatAvailable(CF_HDROP)) {
- if (OpenClipboard(m_message.GetHwnd())) {
- HANDLE hDrop = GetClipboardData(CF_HDROP);
- if (hDrop)
- ProcessFileDrop((HDROP)hDrop, m_hContact);
- CloseClipboard();
- }
- return 0;
- }
- break;
-
- case WM_DROPFILES:
- ProcessFileDrop((HDROP)wParam, m_hContact);
- return 0;
-
case WM_CONTEXTMENU:
InputAreaContextMenu(m_message.GetHwnd(), wParam, lParam, m_hContact);
return TRUE;
@@ -859,10 +842,6 @@ INT_PTR CMsgDialog::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) SendMessage(m_hwndParent, WM_SYSCOMMAND, SC_MINIMIZE, 0);
break;
- case WM_DROPFILES:
- ProcessFileDrop((HDROP)wParam, m_hContact);
- break;
-
case DM_AVATARCHANGED:
ShowAvatar();
break;
|