<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Retrieving Aero Glass base color for opaque surface rendering</title>
	<atom:link href="http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/</link>
	<description>Not your usual Microsoft enthusiast blog.</description>
	<lastBuildDate>Tue, 07 Feb 2012 15:02:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Quentin Calvez</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-9998</link>
		<dc:creator>Quentin Calvez</dc:creator>
		<pubDate>Sun, 07 Nov 2010 04:42:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-9998</guid>
		<description>In the Glass/NotGlass debate, for those using .net 4 (and MetroTwit does), performances in animations between both are not living in the same world. I do prefer the look of NoGlass, but sometimes that&#039;s not an option...</description>
		<content:encoded><![CDATA[<p>In the Glass/NotGlass debate, for those using .net 4 (and MetroTwit does), performances in animations between both are not living in the same world. I do prefer the look of NoGlass, but sometimes that&#8217;s not an option&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-9422</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Sat, 09 Oct 2010 07:19:46 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-9422</guid>
		<description>I think glass is okay. I like it</description>
		<content:encoded><![CDATA[<p>I think glass is okay. I like it</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: evan</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-8019</link>
		<dc:creator>evan</dc:creator>
		<pubDate>Fri, 17 Sep 2010 12:01:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-8019</guid>
		<description>thanks,love&#039;t</description>
		<content:encoded><![CDATA[<p>thanks,love&#8217;t</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 9633a</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7954</link>
		<dc:creator>9633a</dc:creator>
		<pubDate>Thu, 16 Sep 2010 13:06:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7954</guid>
		<description>good ,thanks</description>
		<content:encoded><![CDATA[<p>good ,thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7277</link>
		<dc:creator>Rafael</dc:creator>
		<pubDate>Tue, 24 Aug 2010 23:21:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7277</guid>
		<description>I think my post here answered your SO question, not sure what else you need to get color information.</description>
		<content:encoded><![CDATA[<p>I think my post here answered your SO question, not sure what else you need to get color information.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ian Boyd</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7276</link>
		<dc:creator>Ian Boyd</dc:creator>
		<pubDate>Tue, 24 Aug 2010 21:32:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7276</guid>
		<description>i asked this same question on Stackoverflow, trying to get an answer to the real question: &quot;What is DwmGetColorizationColor returning?&quot;. You can see the question at (http://stackoverflow.com/questions/3560890/vista-7-how-to-get-glass-color)

Also, i love your screenshot much better, so i stole it as a template for my question.</description>
		<content:encoded><![CDATA[<p>i asked this same question on Stackoverflow, trying to get an answer to the real question: &#8220;What is DwmGetColorizationColor returning?&#8221;. You can see the question at (<a href="http://stackoverflow.com/questions/3560890/vista-7-how-to-get-glass-color" rel="nofollow">http://stackoverflow.com/questions/3560890/vista-7-how-to-get-glass-color</a>)</p>
<p>Also, i love your screenshot much better, so i stole it as a template for my question.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Darren</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7250</link>
		<dc:creator>Darren</dc:creator>
		<pubDate>Fri, 20 Aug 2010 03:30:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7250</guid>
		<description>Ok, this is awesome stuff. However, what about setting the color?</description>
		<content:encoded><![CDATA[<p>Ok, this is awesome stuff. However, what about setting the color?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucktube</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7249</link>
		<dc:creator>Lucktube</dc:creator>
		<pubDate>Thu, 19 Aug 2010 21:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7249</guid>
		<description>Agreed that glass is ugly.</description>
		<content:encoded><![CDATA[<p>Agreed that glass is ugly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roman</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7191</link>
		<dc:creator>Roman</dc:creator>
		<pubDate>Fri, 13 Aug 2010 23:05:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7191</guid>
		<description>Thanks for this alternative to using the registry!
It&#039;s certainly less code to write, but will it also perform better? (I think perfomance is always an important point, no matter how little some method seems)

@GRiNSER:
I believe Google Chrome uses the native window frame but draws onto the non-client area.
Not sure though about using skins in chrome if that is still no custom framing.

But I agree that too many applications apply their own window borders :(</description>
		<content:encoded><![CDATA[<p>Thanks for this alternative to using the registry!<br />
It&#8217;s certainly less code to write, but will it also perform better? (I think perfomance is always an important point, no matter how little some method seems)</p>
<p>@GRiNSER:<br />
I believe Google Chrome uses the native window frame but draws onto the non-client area.<br />
Not sure though about using skins in chrome if that is still no custom framing.</p>
<p>But I agree that too many applications apply their own window borders :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7118</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Wed, 14 Jul 2010 11:25:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7118</guid>
		<description>Totally offtopic: UxStyle Core is now one year old! Yeah :D</description>
		<content:encoded><![CDATA[<p>Totally offtopic: UxStyle Core is now one year old! Yeah :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: GRiNSER</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7090</link>
		<dc:creator>GRiNSER</dc:creator>
		<pubDate>Mon, 05 Jul 2010 16:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7090</guid>
		<description>MS guidelines say that you shouldn&#039;t change the window frame behaviour unless you create a real benefit.
http://msdn.microsoft.com/en-us/library/aa974173.aspx
Actually I prefer glass more than these custom window frames because most of them either don&#039;t fully recreate the original Windows placement or behaviour and some render much slower/with artifacts.

Google Chrome, iTunes, MetroTwit, Zune, to name some I know, all have their different takes on the top right window controls. Some of them forget to arrange the controls differently between windowed and maximized mode for example (which the original glass frame does).
MetroTwit, iTunes, Zune Player sometimes also render really badly - you get to see the shadow of the windows first, the content area shows up later.

I think MS is here to blame on some of these bad behaviours and rendering issues. Besides I always hated these graphical glitches like flickering and such in Windows, not only at the custom window frames, but also with e.g. normal content resizing... I hope they will finally step up and deliver a more glitch-free Windows desktop experience like they will provide with Windows Phone 7 in the mobile space.</description>
		<content:encoded><![CDATA[<p>MS guidelines say that you shouldn&#8217;t change the window frame behaviour unless you create a real benefit.<br />
<a href="http://msdn.microsoft.com/en-us/library/aa974173.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/aa974173.aspx</a><br />
Actually I prefer glass more than these custom window frames because most of them either don&#8217;t fully recreate the original Windows placement or behaviour and some render much slower/with artifacts.</p>
<p>Google Chrome, iTunes, MetroTwit, Zune, to name some I know, all have their different takes on the top right window controls. Some of them forget to arrange the controls differently between windowed and maximized mode for example (which the original glass frame does).<br />
MetroTwit, iTunes, Zune Player sometimes also render really badly &#8211; you get to see the shadow of the windows first, the content area shows up later.</p>
<p>I think MS is here to blame on some of these bad behaviours and rendering issues. Besides I always hated these graphical glitches like flickering and such in Windows, not only at the custom window frames, but also with e.g. normal content resizing&#8230; I hope they will finally step up and deliver a more glitch-free Windows desktop experience like they will provide with Windows Phone 7 in the mobile space.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ngyikp</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7086</link>
		<dc:creator>ngyikp</dc:creator>
		<pubDate>Sat, 03 Jul 2010 15:27:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7086</guid>
		<description>A better solution than this is to /not/ use custom windows in the first place :)</description>
		<content:encoded><![CDATA[<p>A better solution than this is to /not/ use custom windows in the first place :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7083</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 02 Jul 2010 12:54:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7083</guid>
		<description>Great stuff, amazing really.  I&#039;ve done a fair amount of development, but no dis-assembly or reverse engineering.  It seems like black magic, can anyone recommend a class or books that would be good to get started?</description>
		<content:encoded><![CDATA[<p>Great stuff, amazing really.  I&#8217;ve done a fair amount of development, but no dis-assembly or reverse engineering.  It seems like black magic, can anyone recommend a class or books that would be good to get started?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christo27</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7077</link>
		<dc:creator>Christo27</dc:creator>
		<pubDate>Thu, 01 Jul 2010 19:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7077</guid>
		<description>Agreed that glass is ugly. Got tired of it after 6 months, I&#039;d say.

I wonder if this is the same way that Windows Live Mail finds the glass color?</description>
		<content:encoded><![CDATA[<p>Agreed that glass is ugly. Got tired of it after 6 months, I&#8217;d say.</p>
<p>I wonder if this is the same way that Windows Live Mail finds the glass color?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafael Rivera</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7075</link>
		<dc:creator>Rafael Rivera</dc:creator>
		<pubDate>Thu, 01 Jul 2010 16:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7075</guid>
		<description>Glass is ugly.</description>
		<content:encoded><![CDATA[<p>Glass is ugly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lula</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7074</link>
		<dc:creator>lula</dc:creator>
		<pubDate>Thu, 01 Jul 2010 15:50:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7074</guid>
		<description>No glass on metrotwit? Why not?</description>
		<content:encoded><![CDATA[<p>No glass on metrotwit? Why not?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vincent</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7073</link>
		<dc:creator>Vincent</dc:creator>
		<pubDate>Thu, 01 Jul 2010 15:34:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7073</guid>
		<description>Thanks for this piece of information, I always wondered why my form background color, which was set to use the DWM window border color, went crazy &quot;sometimes&quot;.</description>
		<content:encoded><![CDATA[<p>Thanks for this piece of information, I always wondered why my form background color, which was set to use the DWM window border color, went crazy &#8220;sometimes&#8221;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Panda X</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7071</link>
		<dc:creator>Panda X</dc:creator>
		<pubDate>Thu, 01 Jul 2010 15:22:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7071</guid>
		<description>I&#039;ve always wondered. What&#039;s the Afterglow and Balance&#039;s do?</description>
		<content:encoded><![CDATA[<p>I&#8217;ve always wondered. What&#8217;s the Afterglow and Balance&#8217;s do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Singh</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7070</link>
		<dc:creator>Singh</dc:creator>
		<pubDate>Thu, 01 Jul 2010 14:38:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7070</guid>
		<description>God, I love reading your blog posts. I&#039;m not a dev, but it does give me a welcome insight into the world of devs.</description>
		<content:encoded><![CDATA[<p>God, I love reading your blog posts. I&#8217;m not a dev, but it does give me a welcome insight into the world of devs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo Davidson</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7069</link>
		<dc:creator>Leo Davidson</dc:creator>
		<pubDate>Thu, 01 Jul 2010 10:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7069</guid>
		<description>Given the choice of both unsupported methods, I think I&#039;d go with the registry with a bit of validation/sanity-checking.

Neither is ideal but I figure calling an undocumented ordinal means you might crash in the future if the function or parameters change meaning (rather than disappear) while the worst that can happen with the registry is you don&#039;t find the colour or you use a bogus colour.

Still interesting stuff, though.

It&#039;s a shame the public DWM API is still so basic with so much hidden and undocumented (or barely documented). Hopefully now that it&#039;s a mature API (i.e. the internals shouldn&#039;t need to change too much) it will be opened up a bit more in future versions of Windows.</description>
		<content:encoded><![CDATA[<p>Given the choice of both unsupported methods, I think I&#8217;d go with the registry with a bit of validation/sanity-checking.</p>
<p>Neither is ideal but I figure calling an undocumented ordinal means you might crash in the future if the function or parameters change meaning (rather than disappear) while the worst that can happen with the registry is you don&#8217;t find the colour or you use a bogus colour.</p>
<p>Still interesting stuff, though.</p>
<p>It&#8217;s a shame the public DWM API is still so basic with so much hidden and undocumented (or barely documented). Hopefully now that it&#8217;s a mature API (i.e. the internals shouldn&#8217;t need to change too much) it will be opened up a bit more in future versions of Windows.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jaryth</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7068</link>
		<dc:creator>Jaryth</dc:creator>
		<pubDate>Thu, 01 Jul 2010 09:59:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7068</guid>
		<description>&quot;and cause the Earth to tilt&quot;

I had that happen once... was NOT cool! ;)

reverse engineering is fun, although you  tend to go a bit further then I take things! :D</description>
		<content:encoded><![CDATA[<p>&#8220;and cause the Earth to tilt&#8221;</p>
<p>I had that happen once&#8230; was NOT cool! ;)</p>
<p>reverse engineering is fun, although you  tend to go a bit further then I take things! :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matt Sharpe</title>
		<link>http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7067</link>
		<dc:creator>Matt Sharpe</dc:creator>
		<pubDate>Thu, 01 Jul 2010 09:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.withinwindows.com/2010/07/01/retrieving-aero-glass-base-color-for-opaque-surface-rendering/#comment-7067</guid>
		<description>Interesting stuff.</description>
		<content:encoded><![CDATA[<p>Interesting stuff.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

