diff options
-rw-r--r-- | plugins/TabSRMM/src/msgdialog.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp index 3d93d6d4a5..13aa569bbf 100644 --- a/plugins/TabSRMM/src/msgdialog.cpp +++ b/plugins/TabSRMM/src/msgdialog.cpp @@ -1903,7 +1903,16 @@ LRESULT CMsgDialog::WndProc_Message(UINT msg, WPARAM wParam, LPARAM lParam) return TRUE;
}
- return CSuper::WndProc_Message(msg, wParam, lParam);
+ auto ret = CSuper::WndProc_Message(msg, wParam, lParam);
+
+ switch (msg) {
+ case EM_PASTESPECIAL:
+ case WM_PASTE:
+ if (m_bIsAutosizingInput)
+ SendMessage(m_message.GetHwnd(), EM_SETSEL, 0, 0);
+ }
+
+ return ret;
}
/////////////////////////////////////////////////////////////////////////////////////////
|