summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2020-11-04 20:12:40 +0300
committerGeorge Hazan <ghazan@miranda.im>2020-11-04 20:12:40 +0300
commitd2fb94b7177ae475ca177ac7e69bac9d28d5a86d (patch)
treeb8397cf019c0d6447482043d6ba813b2c81963bb /plugins/TabSRMM/src/msgdialog.cpp
parent9d297226c85289ab5d55348fb1808e2162384e75 (diff)
fixes #2610 (Message plugins: add abitity to Ctrl+V file)
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index e9b1618f0e..b2171a9169 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -1924,6 +1924,8 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam)
}
else if (hClip = GetClipboardData(CF_BITMAP))
SendHBitmapAsFile((HBITMAP)hClip);
+ else if (hClip = GetClipboardData(CF_HDROP))
+ SendMessage(m_hwnd, WM_DROPFILES, WPARAM(hClip), 0);
CloseClipboard();
}