I have come across a question on this site that mentions the possibility of UI hanging when the SystemEvents.UserPreferenceChanged
event is fired. Now, I have not experienced this in my application, but I would like to test whether this bug might be lurking undetected in my code until it is too late.
However, despite doing some searching, I cannot seem to find
comprehensive documentation regarding what causes the SystemEvents.UserPreferenceChanged
event to be fired.
What are some (all?) system events that cause it to be fired? Is it just a wrapper for the WM_SETTINGCHANGE message, or is there more to the story? What settings can I change to cause it to be fired?