summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-05-03 17:43:27 +0200
committerGeorge Hazan <ghazan@miranda.im>2018-05-03 17:43:27 +0200
commit1bfb22f917841e8863d9780c4462bcc072cf0a2b (patch)
treea1123dc73259c94ceb8b9c1cc135864fd5de5c9a /src
parent3ad2582c4a4a6378f294f9256ecbcbdf0ae88e3a (diff)
StdMsg to update status line when focus moves to a window
Diffstat (limited to 'src')
-rw-r--r--src/core/stdmsg/src/msgdialog.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/stdmsg/src/msgdialog.cpp b/src/core/stdmsg/src/msgdialog.cpp
index ee4230632b..ee22d04648 100644
--- a/src/core/stdmsg/src/msgdialog.cpp
+++ b/src/core/stdmsg/src/msgdialog.cpp
@@ -1084,6 +1084,7 @@ INT_PTR CSrmmWindow::DlgProc(UINT uMsg, WPARAM wParam, LPARAM lParam)
// fall through
case WM_MOUSEACTIVATE:
UpdateTitle();
+ SendMessage(m_hwnd, DM_UPDATELASTMESSAGE, 0, 0);
if (KillTimer(m_hwnd, TIMERID_FLASHWND))
FlashWindow(m_pOwner->GetHwnd(), FALSE);
break;