Hello,
I heard there is a function or at least a way, to notify all processes of a change of environment variables. Does someone in this forum have an idea of, how to do this?
Thanks
Robert
Printable View
Hello,
I heard there is a function or at least a way, to notify all processes of a change of environment variables. Does someone in this forum have an idea of, how to do this?
Thanks
Robert
There is a WM_SETTINGCHANGE message that gets sent, whenever SystemParametersInfo changes system-wide settings.
There is also a BroadcastSystemMessage that you can use to post a message e.g. to all applications.
Along with the WM_SETTINGCHANGE message, there is a WM_WININICHANGE message. Also, make sure that your app respects settings changed by other apps. You're app should trap these messages too.
Regards,
Paul McKenzie