Changing the colour of Aero glass for my window? <p>I'm using <a href="http://blogs.msdn.com/adam_nathan/archive/2006/05/04/589686.aspx" rel="nofollow noreferrer">DwmExtendFrameIntoClientArea</a> in my WPF application to get the glass effect. This is working fine. What I'd like to do is change the colour used for the glass -- I'm writing a countdown timer, and I'd like the window to be the normal glass colour most of the time, and then to go red (but still with glass) when the time runs out.</p> <p>I found <a href="http://stackoverflow.com/questions/894397/how-do-you-do-a-gradient-fade-to-aero-glass-in-a-wpf-application-like-office-2010">this question</a>, which talks about how to apply a gradient glass, and that works fine when picking a different colour. Unfortunately, the borders are not coloured appropriately.</p> <p>When I turn off the borders by using <code>ResizeMode="NoResize"</code>, then I end up with square corners. I'd like to keep the rounded corners.</p> <p>I looked at creating an irregularly-shaped window, by using <code>AllowTransparency="True"</code> and that works fine, but doesn't look like an Aero glass window. It looks a bit flat.</p> <p>So: my question: how do I create a window in WPF that looks like Aero glass transparency, but uses a different colour?</p>