Page 1 of 1

WM_SETTINGCHANGE

Posted: 2007-07-05, 14:56 UTC
by timepp
It seems that TotalCommander does not respond to the WM_SETTINGCHANGE message. If I add a new environment variable via control panel, the added env-var does not appear immediately in TC unless I restart TC.

But I use TC to launch many applications, their env-vars are inherited from TC. Once I changed an env-var from control panel, I need to restart TC before my changes take effect on these applications which will be launched by TC.

I suggest that TC process WM_SETTINGCHANGE message.

Posted: 2007-07-05, 16:41 UTC
by ghisler(Author)
TC responds to WM_SETTINGCHANGE, but it does not update environment variables from Explorer (yet?). This has been discussed before here.

Posted: 2007-07-05, 16:44 UTC
by m^2
Support += 1;

Posted: 2013-02-09, 09:46 UTC
by hakre
18.07.07 Added: Update Total Commander's environment variables when the system variables are changed (e.g. via Control Panel - System). Works on WinNT-based systems only
This is implemented now since longer, if you upgrade from older versions you might need to set the
UpdateEnv=3
ini setting. Check the online-help for that setting for an explanation.

List of some related posts: