|
-
May 6th, 1999, 07:42 AM
#1
How to inform processes of environment changes
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
-
May 6th, 1999, 08:57 AM
#2
Re: How to inform processes of environment changes
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.
-
May 6th, 1999, 04:56 PM
#3
Re: How to inform processes of environment changes
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|