[Ttssh2-commit] [6724] NIN_BALLOONHIDE でも NotifyIcon を隠してみる。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2017年 5月 12日 (金) 22:35:49 JST


Revision: 6724
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6724
Author:   doda
Date:     2017-05-12 22:35:49 +0900 (Fri, 12 May 2017)
Log Message:
-----------
NIN_BALLOONHIDE でも NotifyIcon を隠してみる。

Windows 2000 向け。NIN_BALLOONHIDE すら来ていなかったらもうわからん。

Modified Paths:
--------------
    trunk/teraterm/teraterm/vtwin.cpp

-------------- next part --------------
Modified: trunk/teraterm/teraterm/vtwin.cpp
===================================================================
--- trunk/teraterm/teraterm/vtwin.cpp	2017-05-12 12:44:01 UTC (rev 6723)
+++ trunk/teraterm/teraterm/vtwin.cpp	2017-05-12 13:35:49 UTC (rev 6724)
@@ -3827,11 +3827,13 @@
 		  case WM_RBUTTONDBLCLK:
 		  case WM_CONTEXTMENU:
 		  case NIN_BALLOONSHOW:
-		  case NIN_BALLOONHIDE:
 		  case NIN_KEYSELECT:
 		  case NIN_SELECT:
 			// nothing to do
 			break;
+		  case NIN_BALLOONHIDE:
+			HideNotifyIcon(&cv);
+			break;
 		  case WM_LBUTTONDOWN:
 		  case WM_RBUTTONDOWN:
 			HideNotifyIcon(&cv);



Ttssh2-commit メーリングリストの案内
Back to archive index