svnno****@sourc*****
svnno****@sourc*****
2015年 11月 10日 (火) 23:04:00 JST
Revision: 6105 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/6105 Author: maya Date: 2015-11-10 23:04:00 +0900 (Tue, 10 Nov 2015) Log Message: ----------- Setup directory ダイアログに表示するファイルの種類を、LTEXTからGROUPBOXに移動した Modified Paths: -------------- trunk/teraterm/teraterm/ttermpro.rc trunk/teraterm/teraterm/vtwin.cpp -------------- next part -------------- Modified: trunk/teraterm/teraterm/ttermpro.rc =================================================================== --- trunk/teraterm/teraterm/ttermpro.rc 2015-11-10 13:41:28 UTC (rev 6104) +++ trunk/teraterm/teraterm/ttermpro.rc 2015-11-10 14:04:00 UTC (rev 6105) @@ -279,39 +279,35 @@ EDITTEXT IDC_EDIT,5,5,150,112,ES_MULTILINE | ES_AUTOHSCROLL | ES_WANTRETURN | WS_VSCROLL | WS_HSCROLL END -IDD_SETUP_DIR_DIALOG DIALOGEX 0, 0, 429, 211 +IDD_SETUP_DIR_DIALOG DIALOGEX 0, 0, 370, 211 STYLE DS_SETFONT | DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU CAPTION "Setup directory" FONT 8, "Tahoma", 0, 0, 0x0 BEGIN - GROUPBOX "",IDC_INI_SETUPDIR_GROUP,7,7,415,46 - LTEXT "Tera Term Configuration File",IDC_INI_SETUPDIR_STATIC,9,15,57,17 - EDITTEXT IDC_INI_SETUPDIR_EDIT,73,16,253,14,ES_AUTOHSCROLL | ES_READONLY - PUSHBUTTON "...",IDC_INI_SETUPDIR_BUTTON,338,16,26,14 - PUSHBUTTON "Open File",IDC_INI_SETUPDIR_BUTTON_FILE,372,16,40,14 - LTEXT "Virtual Store",IDC_INI_SETUPDIR_STATIC_VSTORE,75,37,40,8 - EDITTEXT IDC_INI_SETUPDIR_EDIT_VSTORE,123,35,251,14,ES_AUTOHSCROLL | ES_READONLY - GROUPBOX "",IDC_KEYCNF_SETUPDIR_GROUP,7,55,415,46 - LTEXT "Keyboard Configuration File",IDC_KEYCNF_SETUPDIR_STATIC,9,63,61,17 - EDITTEXT IDC_KEYCNF_SETUPDIR_EDIT,73,64,253,14,ES_AUTOHSCROLL | ES_READONLY - PUSHBUTTON "...",IDC_KEYCNF_SETUPDIR_BUTTON,338,64,26,14 - PUSHBUTTON "Open File",IDC_KEYCNF_SETUPDIR_BUTTON_FILE,372,64,40,14 - LTEXT "Virtual Store",IDC_KEYCNF_SETUPDIR_STATIC_VSTORE,75,85,40,8 - EDITTEXT IDC_KEYCNF_SETUPDIR_EDIT_VSTORE,124,83,251,14,ES_AUTOHSCROLL | ES_READONLY - GROUPBOX "",IDC_CYGTERM_SETUPDIR_GROUP,7,103,415,46 - LTEXT "CygTerm Configuration File",IDC_CYGTERM_SETUPDIR_STATIC,9,110,60,17 - EDITTEXT IDC_CYGTERM_SETUPDIR_EDIT,73,112,253,14,ES_AUTOHSCROLL | ES_READONLY - PUSHBUTTON "...",IDC_CYGTERM_SETUPDIR_BUTTON,338,112,26,14 - PUSHBUTTON "Open File",IDC_CYGTERM_SETUPDIR_BUTTON_FILE,372,112,39,14 - LTEXT "Virtual Store",IDC_CYGTERM_SETUPDIR_STATIC_VSTORE,75,133,40,8 - EDITTEXT IDC_CYGTERM_SETUPDIR_EDIT_VSTORE,124,131,251,14,ES_AUTOHSCROLL | ES_READONLY - GROUPBOX "",IDC_SSH_SETUPDIR_GROUP,7,151,415,46 - LTEXT "Known_hosts File",IDC_SSH_SETUPDIR_STATIC,11,160,54,15 - EDITTEXT IDC_SSH_SETUPDIR_EDIT,71,160,253,14,ES_AUTOHSCROLL | ES_READONLY - PUSHBUTTON "...",IDC_SSH_SETUPDIR_BUTTON,336,160,26,14 - PUSHBUTTON "Open File",IDC_SSH_SETUPDIR_BUTTON_FILE,370,160,38,14 - LTEXT "Virtual Store",IDC_SSH_SETUPDIR_STATIC_VSTORE,73,181,40,8 - EDITTEXT IDC_SSH_SETUPDIR_EDIT_VSTORE,123,179,251,14,ES_AUTOHSCROLL | ES_READONLY + GROUPBOX "Tera Term Configuration File",IDC_INI_SETUPDIR_GROUP,7,7,355,46 + EDITTEXT IDC_INI_SETUPDIR_EDIT,13,17,253,14,ES_AUTOHSCROLL | ES_READONLY + PUSHBUTTON "...",IDC_INI_SETUPDIR_BUTTON,278,17,26,14 + PUSHBUTTON "Open File",IDC_INI_SETUPDIR_BUTTON_FILE,312,17,40,14 + LTEXT "Virtual Store",IDC_INI_SETUPDIR_STATIC_VSTORE,15,37,40,8 + EDITTEXT IDC_INI_SETUPDIR_EDIT_VSTORE,63,35,251,14,ES_AUTOHSCROLL | ES_READONLY + GROUPBOX "Keyboard Configuration File",IDC_KEYCNF_SETUPDIR_GROUP,7,55,355,46 + EDITTEXT IDC_KEYCNF_SETUPDIR_EDIT,13,65,253,14,ES_AUTOHSCROLL | ES_READONLY + PUSHBUTTON "...",IDC_KEYCNF_SETUPDIR_BUTTON,278,65,26,14 + PUSHBUTTON "Open File",IDC_KEYCNF_SETUPDIR_BUTTON_FILE,312,65,40,14 + LTEXT "Virtual Store",IDC_KEYCNF_SETUPDIR_STATIC_VSTORE,15,85,40,8 + EDITTEXT IDC_KEYCNF_SETUPDIR_EDIT_VSTORE,63,83,251,14,ES_AUTOHSCROLL | ES_READONLY + GROUPBOX "CygTerm Configuration File",IDC_CYGTERM_SETUPDIR_GROUP,7,103,355,46 + EDITTEXT IDC_CYGTERM_SETUPDIR_EDIT,13,113,253,14,ES_AUTOHSCROLL | ES_READONLY + PUSHBUTTON "...",IDC_CYGTERM_SETUPDIR_BUTTON,278,113,26,14 + PUSHBUTTON "Open File",IDC_CYGTERM_SETUPDIR_BUTTON_FILE,312,113,39,14 + LTEXT "Virtual Store",IDC_CYGTERM_SETUPDIR_STATIC_VSTORE,15,133,40,8 + EDITTEXT IDC_CYGTERM_SETUPDIR_EDIT_VSTORE,63,131,251,14,ES_AUTOHSCROLL | ES_READONLY + GROUPBOX "Known_hosts File",IDC_SSH_SETUPDIR_GROUP,7,151,355,46 + EDITTEXT IDC_SSH_SETUPDIR_EDIT,13,161,253,14,ES_AUTOHSCROLL | ES_READONLY + PUSHBUTTON "...",IDC_SSH_SETUPDIR_BUTTON,278,161,26,14 + PUSHBUTTON "Open File",IDC_SSH_SETUPDIR_BUTTON_FILE,312,161,38,14 + LTEXT "Virtual Store",IDC_SSH_SETUPDIR_STATIC_VSTORE,15,181,40,8 + EDITTEXT IDC_SSH_SETUPDIR_EDIT_VSTORE,63,179,251,14,ES_AUTOHSCROLL | ES_READONLY END @@ -409,7 +405,7 @@ IDD_SETUP_DIR_DIALOG, DIALOG BEGIN LEFTMARGIN, 7 - RIGHTMARGIN, 422 + RIGHTMARGIN, 362 TOPMARGIN, 7 BOTTOMMARGIN, 204 END Modified: trunk/teraterm/teraterm/vtwin.cpp =================================================================== --- trunk/teraterm/teraterm/vtwin.cpp 2015-11-10 13:41:28 UTC (rev 6104) +++ trunk/teraterm/teraterm/vtwin.cpp 2015-11-10 14:04:00 UTC (rev 6105) @@ -4920,19 +4920,19 @@ get_lang_msg("DLG_SETUPDIR_INIFILE", ts.UIMsg, sizeof(ts.UIMsg), "Tera Term Configuration File", ts.UILanguageFile); - SetDlgItemText(hDlgWnd, IDC_INI_SETUPDIR_STATIC, ts.UIMsg); + SetDlgItemText(hDlgWnd, IDC_INI_SETUPDIR_GROUP, ts.UIMsg); get_lang_msg("DLG_SETUPDIR_KEYBOARDFILE", ts.UIMsg, sizeof(ts.UIMsg), "Keyboard Configuration File", ts.UILanguageFile); - SetDlgItemText(hDlgWnd, IDC_KEYCNF_SETUPDIR_STATIC, ts.UIMsg); + SetDlgItemText(hDlgWnd, IDC_KEYCNF_SETUPDIR_GROUP, ts.UIMsg); get_lang_msg("DLG_SETUPDIR_CYGTERMFILE", ts.UIMsg, sizeof(ts.UIMsg), "CygTerm Configuration File", ts.UILanguageFile); - SetDlgItemText(hDlgWnd, IDC_CYGTERM_SETUPDIR_STATIC, ts.UIMsg); + SetDlgItemText(hDlgWnd, IDC_CYGTERM_SETUPDIR_GROUP, ts.UIMsg); get_lang_msg("DLG_SETUPDIR_KNOWNHOSTSFILE", ts.UIMsg, sizeof(ts.UIMsg), "Known_hosts File", ts.UILanguageFile); - SetDlgItemText(hDlgWnd, IDC_SSH_SETUPDIR_STATIC, ts.UIMsg); + SetDlgItemText(hDlgWnd, IDC_SSH_SETUPDIR_GROUP, ts.UIMsg); if (GetModuleFileName(NULL, temp, sizeof(temp)) != 0) { ExtractDirName(temp, teratermexepath);