[Ttssh2-commit] [3596] ログウィンドウを非表示でログを開始した場合、表示されていないログウィンドウにフォーカスが当たった状態になるのを修正した。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 7月 21日 (火) 13:44:29 JST


Revision: 3596
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3596
Author:   maya
Date:     2009-07-21 13:44:28 +0900 (Tue, 21 Jul 2009)

Log Message:
-----------
ログウィンドウを非表示でログを開始した場合、表示されていないログウィンドウにフォーカスが当たった状態になるのを修正した。
  非表示時には VTWin にフォーカスをセットするようにした。
http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=17818

Modified Paths:
--------------
    trunk/doc/en/html/about/history.html
    trunk/doc/ja/html/about/history.html
    trunk/teraterm/teraterm/ftdlg.cpp


-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2009-07-15 11:16:46 UTC (rev 3595)
+++ trunk/doc/en/html/about/history.html	2009-07-21 04:44:28 UTC (rev 3596)
@@ -41,6 +41,7 @@
     <ul>
       <li>fixed the problem that the settings of local echo and line feed before connection may not be effective.</li>
       <li>fixed the problem that the settings of TCPLocalEcho/TCPCRSend in previous connection are not reset in serial connection.</li>
+      <li>fixed the problem that the invisible log dialog has focus when Tera Term start logging without displaying log dialog.</li>
       <li><a href="../macro/command/strscan.html">strscan</a> macro command does not work correctly.</li>
       <li>fixed the problem that the c language style comment does not work well.</li>
     </ul>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2009-07-15 11:16:46 UTC (rev 3595)
+++ trunk/doc/ja/html/about/history.html	2009-07-21 04:44:28 UTC (rev 3596)
@@ -41,6 +41,7 @@
     <ul>
       <li>Ú‘±‘O‚ɍs‚Á‚½ƒ[ƒJƒ‹ƒGƒR[‚Æ‘—M‰üsƒR[ƒh‚̐ݒ肪–³Ž‹‚³‚ê‚鎖‚ª‚ ‚é‚Ì‚ðC³‚µ‚½B</li>
       <li>ƒVƒŠƒAƒ‹Ú‘±Žž‚ɁA‘O‚̐ڑ±‚ÅŽg‚í‚ꂽTCPLocalEcho/TCPCRSend‚̐ݒ肪ƒŠƒZƒbƒg‚³‚ê‚È‚¢‚Ì‚ðC³‚µ‚½B</li>
+      <li>ƒƒOƒEƒBƒ“ƒhƒE‚ð•\Ž¦‚µ‚È‚¢‚эƒOÌŽæ‚ðŠJŽn‚µ‚½‚Æ‚«A•\Ž¦‚³‚ê‚Ä‚¢‚È‚¢ƒƒOƒEƒBƒ“ƒhƒE‚ɃtƒH[ƒJƒX‚ª‚¢‚Á‚Ä‚µ‚Ü‚¤‚Ì‚ðC³‚µ‚½B</li>
       <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/strscan.html">strscan</a>" ‚ª³‚µ‚­“­‚©‚È‚¢ê‡‚ª‚ ‚é‚Ì‚ðC³‚µ‚½B</li>
       <li>ƒ}ƒNƒ‚ÌCŒ¾Œê•—ƒRƒƒ“ƒg‚É‚¨‚¢‚āA³‚µ‚­ƒRƒƒ“ƒg‚ðŽ¯•Ê‚µ‚È‚¢ƒP[ƒX‚ɑΉž‚µ‚½B</li>
     </ul>

Modified: trunk/teraterm/teraterm/ftdlg.cpp
===================================================================
--- trunk/teraterm/teraterm/ftdlg.cpp	2009-07-15 11:16:46 UTC (rev 3595)
+++ trunk/teraterm/teraterm/ftdlg.cpp	2009-07-21 04:44:28 UTC (rev 3596)
@@ -55,7 +55,7 @@
 		Ok = CDialog::Create(CFileTransDlg::IDD, GetDesktopWindow());
 	}
 	else { // parent window is VT window
-	Ok = CDialog::Create(CFileTransDlg::IDD, NULL);
+		Ok = CDialog::Create(CFileTransDlg::IDD, NULL);
 	}
 
 	// ŒÄ‚яo‚µŒ³‚©‚çˆÚ“® (2009.2.7 maya)
@@ -65,6 +65,9 @@
 			ShowWindow(SW_MINIMIZE);
 		}
 	}
+	else {
+		::SetFocus(fv->HMainWin);
+	}
 
 	fv->HWin = GetSafeHwnd();
 



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