[Ttssh2-commit] [3633] Broadcast Commandのリストボックスにおいて、CTRL+Aで全選択できるようにした。

Back to archive index

svnno****@sourc***** svnno****@sourc*****
2009年 10月 7日 (水) 23:06:50 JST


Revision: 3633
          http://sourceforge.jp/projects/ttssh2/svn/view?view=rev&revision=3633
Author:   yutakapon
Date:     2009-10-07 23:06:50 +0900 (Wed, 07 Oct 2009)

Log Message:
-----------
Broadcast Commandのリストボックスにおいて、CTRL+Aで全選択できるようにした。

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


-------------- next part --------------
Modified: trunk/doc/en/html/about/history.html
===================================================================
--- trunk/doc/en/html/about/history.html	2009-10-03 16:05:45 UTC (rev 3632)
+++ trunk/doc/en/html/about/history.html	2009-10-07 14:06:50 UTC (rev 3633)
@@ -37,7 +37,7 @@
       <li>The clickable URL color is able to be painted.</li>
       <li>When the clickable URL is enabled, the mouser cursor is not able to transform.</li>
       <li>sftp/tftp scheme can be linked in a clickable URL.</li>
-      <li>The list of open sessions in the Broadcast Command window can support the standard Windows feature of selecting the range of items. It is possible to select consecutive number of items by clicking on the first and then pressing Shift key and clicking on the last.</li>
+      <li>The list of open sessions in the Broadcast Command window can support the standard Windows feature of selecting the range of items. It is possible to select consecutive number of items by clicking on the first and then pressing Shift key and clicking on the last. And also, it is possible to select all items by CTRL+A pushing.</li>
       <li>added support for resizing the list box in the Broadcast Command window.</li>
       <li>The list box in the Broadcast Command periodically updates.</li>
     </ul>

Modified: trunk/doc/ja/html/about/history.html
===================================================================
--- trunk/doc/ja/html/about/history.html	2009-10-03 16:05:45 UTC (rev 3632)
+++ trunk/doc/ja/html/about/history.html	2009-10-07 14:06:50 UTC (rev 3633)
@@ -37,7 +37,7 @@
       <li>ƒNƒŠƒbƒJƒuƒ‹URL‚̐F‘®«‚ð•`‰æ‚·‚é‚悤‚É‚µ‚½B</li>
       <li>ƒNƒŠƒbƒJƒuƒ‹URL‚ª–³Œø‚̏ꍇAƒnƒCƒp[ƒŠƒ“ƒNã‚Ń}ƒEƒXƒJ[ƒ\ƒ‹‚ð•ÏŒ`‚³‚¹‚È‚¢‚悤‚É‚µ‚½B</li>
       <li>sftp/tftp ƒXƒL[ƒ€‚àƒNƒŠƒbƒJƒuƒ‹URL‚É‚È‚é‚悤‚É‚µ‚½B</li>
-      <li>Broadcast Command‚̃ŠƒXƒgƒ{ƒbƒNƒX‚É‚¨‚¢‚āAƒ_ƒuƒ‹ƒNƒŠƒbƒN‚É‚æ‚é‘S‘I‘ð‚ð”pŽ~‚µAuSHIFT+ƒNƒŠƒbƒNv‚É‚æ‚é˜A‘±“I‘I‘ð‚ðƒTƒ|[ƒg‚µ‚½B</li>
+      <li>Broadcast Command‚̃ŠƒXƒgƒ{ƒbƒNƒX‚É‚¨‚¢‚āAƒ_ƒuƒ‹ƒNƒŠƒbƒN‚É‚æ‚é‘S‘I‘ð‚ð”pŽ~‚µAuSHIFT+ƒNƒŠƒbƒNv‚É‚æ‚é˜A‘±“I‘I‘ðAuCTRL+Av‚É‚æ‚é‘S‘I‘ð‚ðƒTƒ|[ƒg‚µ‚½B</li>
       <li>Broadcast Command‚̃_ƒCƒAƒƒOƒ{ƒbƒNƒX‚ðƒTƒCƒY•ÏX‚Å‚«‚é‚悤‚É‚µ‚½B</li>
       <li>Broadcast Command‚̃ŠƒXƒgƒ{ƒbƒNƒX‚ð’èŠú“I‚ɍXV‚·‚é‚悤‚É‚µ‚½B</li>
     </ul>

Modified: trunk/teraterm/teraterm/ttermpro.rc
===================================================================
--- trunk/teraterm/teraterm/ttermpro.rc	2009-10-03 16:05:45 UTC (rev 3632)
+++ trunk/teraterm/teraterm/ttermpro.rc	2009-10-07 14:06:50 UTC (rev 3633)
@@ -109,7 +109,7 @@
     COMBOBOX        IDC_COMMAND_EDIT,8,3,189,30,CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
     CONTROL         "Send to this process only",IDC_PARENT_ONLY,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,36,111,10
     CONTROL         "Realtime mode",IDC_REALTIME_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,134,36,62,10
-    LISTBOX         IDC_LIST,8,49,237,45,LBS_SORT | LBS_MULTIPLESEL | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
+    LISTBOX         IDC_LIST,8,51,237,45,LBS_SORT | LBS_MULTIPLESEL | LBS_NOINTEGRALHEIGHT | LBS_WANTKEYBOARDINPUT | WS_VSCROLL | WS_TABSTOP
 END
 
 IDD_TABSHEET_VISUAL DIALOGEX 0, 0, 242, 148

Modified: trunk/teraterm/teraterm/vtwin.cpp
===================================================================
--- trunk/teraterm/teraterm/vtwin.cpp	2009-10-03 16:05:45 UTC (rev 3632)
+++ trunk/teraterm/teraterm/vtwin.cpp	2009-10-07 14:06:50 UTC (rev 3633)
@@ -4871,7 +4871,23 @@
 			}
 			return TRUE;
 
+		case WM_VKEYTOITEM:
+			// ƒŠƒXƒgƒ{ƒbƒNƒX‚ŃL[‰Ÿ‰º(CTRL+A)‚³‚ꂽ‚çA‘S‘I‘ðB
+			if ((HWND)lp == BroadcastWindowList) {
+				if (ControlKey() && LOWORD(wp) == 'A') {
+					int i, n;
+
+					//OutputDebugPrintf("msg %x wp %x lp %x\n", msg, wp, lp);
+					n = GetApplicationInstanceCount();
+					for (i = 0 ; i < n ; i++) {
+						ListBox_SetSel(BroadcastWindowList, TRUE, i);
+					}
+				}
+			}
+			return TRUE;
+
 		default:
+			//OutputDebugPrintf("msg %x wp %x lp %x\n", msg, wp, lp);
 			return FALSE;
 	}
 	return TRUE;



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