Bug: Windows font change
Collapse
X
-
V fixed this in January 2009, I think other people have copied the relevant code since then. Just change SendMessage to PostMessage and the trick is done.I get a hang sometimes in the following code
SendMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0);
Rebooting clears up the offending receiver but maybe it can be changed to a non-blocking call. I currently encounter this problem in S but this code seems common to all variants. Or maybe someone has suggestions on finding the blocking app? I guess I can try killing processes until I find the blocker.Leave a comment:
-
Well I found the blocker, a hung iexplore. MSDN specifically says to do it this way but it still seems dangerous to me.Leave a comment:
-
Bug: Windows font change
I get a hang sometimes in the following code
SendMessage(HWND_BROADCAST, WM_FONTCHANGE, 0, 0);
Rebooting clears up the offending receiver but maybe it can be changed to a non-blocking call. I currently encounter this problem in S but this code seems common to all variants. Or maybe someone has suggestions on finding the blocking app? I guess I can try killing processes until I find the blocker.Tags: None
Leave a comment: