[UXTHEME]: Use SendMessage to notify windows that the theme has changed. This needs...
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 3 Mar 2017 14:35:19 +0000 (14:35 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 3 Mar 2017 14:35:19 +0000 (14:35 +0000)
svn path=/trunk/; revision=74038

reactos/dll/win32/uxtheme/system.c

index 86fbc98..a3b1ca1 100644 (file)
@@ -57,7 +57,7 @@ PTHEME_FILE ActiveThemeFile;
 
 static BOOL CALLBACK UXTHEME_broadcast_msg_enumchild (HWND hWnd, LPARAM msg)
 {
-    PostMessageW(hWnd, msg, 0, 0);
+    SendMessageW(hWnd, msg, 0, 0);
     return TRUE;
 }
 
@@ -70,7 +70,7 @@ BOOL CALLBACK UXTHEME_broadcast_msg (HWND hWnd, LPARAM msg)
     }
     else
     {
-       PostMessageW(hWnd, msg, 0, 0);
+       SendMessageW(hWnd, msg, 0, 0);
        EnumChildWindows (hWnd, UXTHEME_broadcast_msg_enumchild, msg);
     }
     return TRUE;