Menu

Commit [r881]  Maximize  Restore  History

(Closes issue #429) : Allow to dismiss notifications with mouse right click button pressed hover notification ballon

tortoisesvn 2013-06-15

changed /trunk/src/StatusBarMsgWnd.cpp
/trunk/src/StatusBarMsgWnd.cpp Diff Switch to side-by-side view
--- a/trunk/src/StatusBarMsgWnd.cpp
+++ b/trunk/src/StatusBarMsgWnd.cpp
@@ -1,6 +1,6 @@
 // CommitMonitor - simple checker for new commits in svn repositories
 
-// Copyright (C) 2007, 2009, 2012 - Stefan Kueng
+// Copyright (C) 2007, 2009, 2012-2013 - Stefan Kueng
 
 // This program is free software; you can redistribute it and/or
 // modify it under the terms of the GNU General Public License
@@ -124,6 +124,10 @@
     case WM_LBUTTONUP:
         // user clicked on the popup window
         ::PostMessage(m_hParentWnd, m_messageOnClick, wParam, lParam);
+        break;
+    case WM_RBUTTONUP:
+        ::KillTimer(*this, STATUSBARMSGWND_SHOWTIMER);
+        DestroyWindow(*this);
         break;
     case WM_ERASEBKGND:
         return TRUE;
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.