Revision: 8404 https://osdn.net/projects/ttssh2/scm/svn/commits/8404 Author: yutakapon Date: 2019-11-24 15:48:15 +0900 (Sun, 24 Nov 2019) Log Message: ----------- 設定の保存・設定の読み込み・キーマップ読み込みダイアログにヘルプボタンが表示されていない問題を修正した。 Windows95/98/NT4.0において、設定の保存ダイアログに「読み取り専用ファイルとして開く」というチェックボックスが表示される問題を修正した。 Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/ja/html/about/history.html trunk/teraterm/ttpfile/ttfile.c -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2019-11-24 06:10:40 UTC (rev 8403) +++ trunk/doc/en/html/about/history.html 2019-11-24 06:48:15 UTC (rev 8404) @@ -82,6 +82,8 @@ <li>When the DPI is changed while menu bar hidden, the window size is correctly adjusted.</li> <li>When DPI is changed, an application fault occurs on Windows 8.1.</li> <li>MACRO: The button of yesnobox selected with left or right arrow key is reversed.</li> + <li>The help button on the Save setup, Restore setup and Load key map dialog can not be shown.</li> + <li>Save setup dialog shows incorrectly "Open as read-only" check-box on Windows95/98/NT4.0.</li> </ul> </li> Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2019-11-24 06:10:40 UTC (rev 8403) +++ trunk/doc/ja/html/about/history.html 2019-11-24 06:48:15 UTC (rev 8404) @@ -82,6 +82,8 @@ <li>\x83\x81\x83j\x83\x85\x81[\x83o\x81[\x94\xF1\x95\\x8E\xA6\x8E\x9E\x81ADPI\x82\xAA\x95ω\xBB\x82\xB5\x82\xBD\x82Ƃ\xAB\x83E\x83B\x83\x93\x83h\x83E\x83T\x83C\x83Y\x82𐳂\xB5\x82\xAD\x92\xB2\x90\xAE\x82\xB7\x82\xE9\x82悤\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li> <li>Windows 8.1\x82ŁADPI\x82\xAA\x95ω\xBB\x82\xB5\x82\xBD\x82Ƃ\xAB Tera Term \x82\xAA\x8B\xAD\x90\xA7\x8FI\x97\xB9\x82\xB5\x82Ȃ\xA2\x82悤\x82ɂ\xB5\x82\xBD\x81B</li> <li>MACRO: yesnobox \x82ō\xB6\x89E\x96\xEE\x88\xF3\x83L\x81[\x82őI\x91\xF0\x82\xB3\x82\xEA\x82\xE9\x83{\x83^\x83\x93\x82\xAA\x8Bt\x82ɂȂ\xC1\x82Ă\xA2\x82\xBD\x82̂\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li> + <li>\x90ݒ\xE8\x82̕ۑ\xB6\x81E\x90ݒ\xE8\x82̓ǂݍ\x9E\x82݁E\x83L\x81[\x83}\x83b\x83v\x93ǂݍ\x9E\x82݃_\x83C\x83A\x83\x8D\x83O\x82Ƀw\x83\x8B\x83v\x83{\x83^\x83\x93\x82\xAA\x95\\x8E\xA6\x82\xB3\x82\xEA\x82Ă\xA2\x82Ȃ\xA2\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li> + <li>Windows95/98/NT4.0\x82ɂ\xA8\x82\xA2\x82āA\x90ݒ\xE8\x82̕ۑ\xB6\x83_\x83C\x83A\x83\x8D\x83O\x82Ɂu\x93ǂݎ\xE6\x82\xE8\x90\xEA\x97p\x83t\x83@\x83C\x83\x8B\x82Ƃ\xB5\x82ĊJ\x82\xAD\x81v\x82Ƃ\xA2\x82\xA4\x83`\x83F\x83b\x83N\x83{\x83b\x83N\x83X\x82\xAA\x95\\x8E\xA6\x82\xB3\x82\xEA\x82\xE9\x96\xE2\x91\xE8\x82\xF0\x8FC\x90\xB3\x82\xB5\x82\xBD\x81B</li> </ul> </li> Modified: trunk/teraterm/ttpfile/ttfile.c =================================================================== --- trunk/teraterm/ttpfile/ttfile.c 2019-11-24 06:10:40 UTC (rev 8403) +++ trunk/teraterm/ttpfile/ttfile.c 2019-11-24 06:48:15 UTC (rev 8404) @@ -129,7 +129,7 @@ switch (FuncId) { case GSF_SAVE: - ofn.Flags = OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT; + ofn.Flags = OFN_PATHMUSTEXIST | OFN_OVERWRITEPROMPT | OFN_HIDEREADONLY | OFN_SHOWHELP; // \x8F\x89\x8A\xFA\x83t\x83@\x83C\x83\x8B\x83f\x83B\x83\x8C\x83N\x83g\x83\x8A\x82\xF0\x83v\x83\x8D\x83O\x83\x89\x83\x80\x96{\x91̂\xAA\x82\xA0\x82\xE9\x89ӏ\x8A\x82ɌŒ肷\x82\xE9 (2005.1.6 yutaka) // \x93ǂݍ\x9E\x82܂ꂽteraterm.ini\x82\xAA\x82\xA0\x82\xE9\x83f\x83B\x83\x8C\x83N\x83g\x83\x8A\x82ɌŒ肷\x82\xE9\x81B // \x82\xB1\x82\xEA\x82ɂ\xE6\x82\xE8\x81A/F= \x82Ŏw\x92肳\x82ꂽ\x88ʒu\x82ɕۑ\xB6\x82\xB3\x82\xEA\x82\xE9\x82悤\x82ɂȂ\xE9\x81B(2005.1.26 yutaka) @@ -145,7 +145,7 @@ strncpy_s(ts->SetupFName, sizeof(ts->SetupFName),Name, _TRUNCATE); break; case GSF_RESTORE: - ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY; + ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | OFN_SHOWHELP; get_lang_msg("FILEDLG_RESTORE_SETUP_TITLE", uimsg, sizeof(uimsg), "Tera Term: Restore setup", UILanguageFile); ofn.lpstrTitle = uimsg; Ok = GetOpenFileName(&ofn); @@ -153,7 +153,7 @@ strncpy_s(ts->SetupFName, sizeof(ts->SetupFName),Name, _TRUNCATE); break; case GSF_LOADKEY: - ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY; + ofn.Flags = OFN_FILEMUSTEXIST | OFN_HIDEREADONLY | OFN_SHOWHELP; get_lang_msg("FILEDLG_LOAD_KEYMAP_TITLE", uimsg, sizeof(uimsg), "Tera Term: Load key map", UILanguageFile); ofn.lpstrTitle = uimsg; Ok = GetOpenFileName(&ofn); @@ -162,8 +162,6 @@ break; } - ofn.Flags |= OFN_SHOWHELP; - #if defined(_DEBUG) if (!Ok) { DWORD Err = GetLastError();