bilcrete
asked on
Registry
Once I make a change in the registry, such as the wallpaper, How do I get the registry settings to automatically take affect without rebooting?
Thanks
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just use SendMessage with the hwnd parameter set to HWND_BROADCAST and send the message WM_SETTINGCHANGE. That way you can inform the whole system of a systemwide change to the registry, win.ini or system.ini. Make sure you point the lParam to the correct string containing the section or the key in the registry you changed.
Regards, Abel