[Ttssh2-commit] [4694] ブロードキャストコマンドのリアルタイムモードでは、入力した文字がエディットコントロールに残らないようにした

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2011年 10月 30日 (日) 21:55:38 JST


Revision: 4694
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=4694
Author:   maya
Date:     2011-10-30 21:55:38 +0900 (Sun, 30 Oct 2011)

Log Message:
-----------
ブロードキャストコマンドのリアルタイムモードでは、入力した文字がエディットコントロールに残らないようにした
  http://sourceforge.jp/ticket/browse.php?group_id=1412&tid=26449

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


-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2011-10-30 10:42:48 UTC (rev 4693)
+++ trunk/doc/en/html/about/history.html	2011-10-30 12:55:38 UTC (rev 4694)
@@ -37,6 +37,7 @@
     <ul>
       <li>added support for OSC 10 (Change VT window text foreground color), 11 (Change VT window text background color), 15 (Change TEK window text foreground color) and 16 (Change TEK window text background color) control string.</li>
       <li>added the <a href="../menu/window.html#minimize">[Minimize All]</a> and the <a href="../menu/window.html#restore">[Restore All]</a> menu into the <a href="../menu/window.html">[Window]</a> menu.</li>
+      <!--li>ƒuƒ[ƒhƒLƒƒƒXƒgƒRƒ}ƒ“ƒh‚É‚¨‚¢‚āAƒŠƒAƒ‹ƒ^ƒCƒ€ƒ‚[ƒh‚̏ꍇAƒL[“ü—͂ŃGƒfƒBƒbƒgƒRƒ“ƒgƒ[ƒ‹‚É•¶Žš‚ªŽc‚ç‚È‚¢‚悤‚É‚µ‚½B</li-->
       <li>added the "<a href="../macro/command/getspecialfolder.html">getspecialfolder</a>" macro command.</li>
       <li>adjusted the up and down space size of the shown message at the "<a href="../macro/command/messagebox.html">messagebox</a>", "<a href="../macro/command/inputbox.html">inputbox</a>" and "<a href="../macro/command/statusbox.html">statusbox</a>" macro commands.</li>
     </ul>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2011-10-30 10:42:48 UTC (rev 4693)
+++ trunk/doc/ja/html/about/history.html	2011-10-30 12:55:38 UTC (rev 4694)
@@ -37,6 +37,7 @@
     <ul>
       <li>OSC 10 (VTƒEƒBƒ“ƒhƒE•¶ŽšF•ÏX), 11 (VTƒEƒBƒ“ƒhƒE”wŒiF•ÏX), 15 (TEKƒEƒBƒ“ƒhƒE•¶ŽšF•ÏX), 16 (TEKƒEƒBƒ“ƒhƒE”wŒiF•ÏX) §Œä•¶Žš—ñ‚ɑΉž‚µ‚½B</li>
       <li><a href="../menu/window.html">[Window]</a> ƒƒjƒ…[‚É <a href="../menu/window.html#minimize">[Minimize All]</a>, <a href="../menu/window.html#restore">[Restore All]</a> ƒƒjƒ…[‚ð’ljÁ‚µ‚½B</li>
+      <li>ƒuƒ[ƒhƒLƒƒƒXƒgƒRƒ}ƒ“ƒh‚É‚¨‚¢‚āAƒŠƒAƒ‹ƒ^ƒCƒ€ƒ‚[ƒh‚̏ꍇAƒL[“ü—͂ŃGƒfƒBƒbƒgƒRƒ“ƒgƒ[ƒ‹‚É•¶Žš‚ªŽc‚ç‚È‚¢‚悤‚É‚µ‚½B</li>
       <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/getspecialfolder.html">getspecialfolder</a>" ‚ð’ljÁ‚µ‚½B</li>
       <li>ƒ}ƒNƒƒRƒ}ƒ“ƒh "<a href="../macro/command/messagebox.html">messagebox</a>", "<a href="../macro/command/inputbox.html">inputbox</a>", "<a href="../macro/command/statusbox.html">statusbox</a>"‚ŁA•\Ž¦‚³‚ê‚郁ƒbƒZ[ƒW‚̏㉺‚Ì—]”’‚Ì‘å‚«‚³‚𒲐®‚µ‚½B </li>
     </ul>

Modified: trunk/teraterm/teraterm/vtwin.cpp
===================================================================
--- trunk/teraterm/teraterm/vtwin.cpp	2011-10-30 10:42:48 UTC (rev 4693)
+++ trunk/teraterm/teraterm/vtwin.cpp	2011-10-30 12:55:38 UTC (rev 4694)
@@ -4435,7 +4435,7 @@
 				int i;
 				HWND hd;
 				int count;
-OutputDebugPrintf("msg=%d wParam=%d lParam=%d\n", msg, wParam, lParam);
+
 				if (wParam == 0x0d) {  // Enter key
 					SetWindowText(dlg, "");
 					SendMessage(dlg, EM_SETSEL, 0, 0);
@@ -4463,6 +4463,19 @@
 			}
 			break;
 
+		case WM_CHAR:
+#if 0
+			switch (wParam) {
+				case VK_RETURN:
+				case VK_ESCAPE:
+					// Œx‰¹‚ªo‚È‚¢‚悤‚É‚·‚é
+					return FALSE;
+			}
+			// not break;
+#endif
+			// “ü—Í‚µ‚½•¶Žš‚ª‚ªIDC_COMMAND_EDIT‚ÉŽc‚ç‚È‚¢‚悤‚ÉŽÌ‚Ä‚é
+			return FALSE;
+
 		default:
 			return CallWindowProc(OrigBroadcastEditProc, dlg, msg, wParam, lParam);
 	}



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