[CMAKE]
[reactos.git] / base / shell / explorer / taskbar / desktopbar.cpp
index f698827..c52a167 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:OutputDebugStringA("WM_SYSCOLORCHANGE desktopbar\n");
+               /* 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);
        }