* Sync with recent trunk (r52637).
[reactos.git] / base / shell / explorer / taskbar / desktopbar.cpp
index f698827..51c846c 100644 (file)
@@ -345,6 +345,15 @@ LRESULT DesktopBar::WndProc(UINT nmsg, WPARAM wparam, LPARAM lparam)
          case PM_GET_NOTIFYAREA:
                return (LRESULT)(HWND)_hwndNotify;
 
+         case WM_SYSCOLORCHANGE:
+               /* Forward WM_SYSCOLORCHANGE to common controls */
+#ifndef _NO_REBAR
+               SendMessage(_hwndrebar, WM_SYSCOLORCHANGE, 0, 0);
+#endif
+               SendMessage(_hwndQuickLaunch, WM_SYSCOLORCHANGE, 0, 0);
+               SendMessage(_hwndTaskBar, WM_SYSCOLORCHANGE, 0, 0);
+               break;
+
          default: def:
                return super::WndProc(nmsg, wparam, lparam);
        }