diff --git a/TTXSamples/TTXCheckUpdate/ttxcheckupdate.c b/TTXSamples/TTXCheckUpdate/ttxcheckupdate.c index 880370ff7..62aed9311 100644 --- a/TTXSamples/TTXCheckUpdate/ttxcheckupdate.c +++ b/TTXSamples/TTXCheckUpdate/ttxcheckupdate.c @@ -35,6 +35,7 @@ #include "teraterm.h" #include "tttypes.h" #include "ttplugin.h" +#include "ttlib.h" #include "codeconv.h" #include "dlglib.h" @@ -55,6 +56,7 @@ typedef struct { PComVar cv; version_one_t *versions; size_t versions_count; + PReadIniFile ReadIniFile; } TInstVar; static TInstVar InstVar; @@ -239,6 +241,18 @@ static void WINAPI TTXInit(PTTSet ts, PComVar cv) pvar->cv = cv; } +static void PASCAL TTXReadINIFile(const wchar_t *fileName, PTTSet ts) +{ + (pvar->ReadIniFile) (fileName, ts); + MessageBoxPosParentRelative = ts->MessageBoxPosParentRelative; +} + +static void PASCAL TTXGetSetupHooks(TTXSetupHooks *hooks) +{ + pvar->ReadIniFile = *hooks->ReadIniFile; + *hooks->ReadIniFile = TTXReadINIFile; +} + static void WINAPI TTXModifyMenu(HMENU menu) { static const DlgTextInfo MenuTextInfo[] = { @@ -269,7 +283,7 @@ static TTXExports Exports = { TTXInit, NULL, - NULL, + TTXGetSetupHooks, NULL, NULL, NULL, diff --git a/doc/en/html/about/history.html b/doc/en/html/about/history.html index e8740482a..7f963c8fe 100644 --- a/doc/en/html/about/history.html +++ b/doc/en/html/about/history.html @@ -67,12 +67,15 @@

YYYY.MM.DD (Ver 5.3 not released yet)

  • Modified to display SSH authentication banner in VT window regardless of receiving character code.
  • Keyboard setting dialog is moved to Keyboard tab of Additional setting dialog.
  • MACRO: send macro command check data and sends it as text or binary. added sendtext and sendbinary macro command
  • -
  • Macro +
  • MACRO: password file using aes-256-ctr +
  • added the getttpos command to retrieve the display status, position, and size in the VT window of Tera Term.
  • Add ViewlogEditor argument on Log Tab in Additional settings.
  • +
  • Setup - Font was integrated into Font tab of Additional settings.
  • +
  • Added the MessageBoxPosParentRelative option to change the display position of the message box (excluding some) from the center of the screen to the center of the parent window.
  • Setup - Font was integrated into Font tab of Additional settings.
  • Add TCP/IP tab of Additional setting dialog.