<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx</link><description>For the most part, the Vista Desktop Window Manager is an end-user feature. However, because it so fundamentally changes the game of how the desktop gets composed, there was both the opportunity and the requirement to introduce a relatively small number</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#754059</link><pubDate>Thu, 14 Sep 2006 17:05:03 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:754059</guid><dc:creator>Mike</dc:creator><description>&amp;quot;This is useful for, for instance, the TaskBar or the SideBar which go opaque when other windows get maximized.&amp;quot;&lt;br&gt;&lt;br&gt;Please please PLEASE tell me there's a way to turn that off, it's horribly annoying and distracting and inconsistent, not to mention ugly. &amp;nbsp;Same with the window border/title...&lt;br&gt;&lt;br&gt;Otherwise, thanks for the info. &amp;nbsp;You mention that Flip3d cannot be built with the Thumbnail API... how could, in fact, something like that be built?</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#754069</link><pubDate>Thu, 14 Sep 2006 17:18:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:754069</guid><dc:creator>guy</dc:creator><description>Are there any APIs available to actually manipulate/size/move the compositor windows. &amp;nbsp;ie. to let a third party build Expose or Spaces functionality, or something better?</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#754233</link><pubDate>Thu, 14 Sep 2006 19:29:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:754233</guid><dc:creator>jad</dc:creator><description>I noticed that the WPF screen update rate is pretty low under DWM in Vista RC1. It's not at fast as for example dragging windows on the desktop. Can I change this rate in a WPF application?&lt;br&gt;&lt;br&gt;</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#754883</link><pubDate>Fri, 15 Sep 2006 02:01:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:754883</guid><dc:creator>GreenReaper</dc:creator><description>Mike: One way is to be the DWM . . . or make it think that you are, anyway. It would be a lot of trouble to go that way, though, and would require that you have a near-complete understanding of how to use the undocumented milcore and WindowsCodecs APIs, and of the final low-level compiled structure of the DWM. It's also very likely to break on you when any of the above components change, even in a trivial way. Not recommended unless you have a year on your hands and yearn for the good old days of low-level GDI calls. Even if you do, think twice. :-)&lt;br&gt;&lt;br&gt;Another more practical way to do something similar might be to use a fullscreen window and the PrintWindow API to grab the appropriate images, then mess around with them as you like. Unfortunately if you do that they will not update automatically. This loses some coolness, but most users are unlikely to notice.&lt;br&gt;&lt;br&gt;My advice? Probably best to wait for an 3D Thumbnail API (at which point MS will probably be sued by Apple for allowing people to make Expose or Spaces).&lt;br&gt;&lt;br&gt;guy: Don't think so. Again, you're talking stuff which only the DWM knows.&lt;br&gt;&lt;br&gt;jad: I'm not sure what you mean by WPF screen update rate (WPF is the application framework), but it sounds like your graphics subsystem is low on bandwidth. Integrated graphics solutions and older cards are marginal for the purposes of the DWM and will cause the whole screen's &amp;nbsp;frame rate to drop.&lt;br&gt;&lt;br&gt;I believe WPF itself can specify an rate to milcore, but it doesn't really matter if the whole screen can't handle updating any faster. You can see how much bandwidth you're playing with by looking at MbVideoMemPerSecond in a recent assessment in %WINDIR%\Performance\WinSAT\DataStore. Microsoft recommends 1600 or more for good performance.</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#755311</link><pubDate>Fri, 15 Sep 2006 08:23:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:755311</guid><dc:creator>jad</dc:creator><description>GreenReaper:&lt;br&gt;&lt;br&gt;It's not a hardware related problem. WPF applications running under DWM update the screen at a lower rate than the DWM updates other stuff. This happens on high end hardware so obviously WPF apps are set to update at a lower rate. I want to know if I can change this setting as a developer.&lt;br&gt;&lt;br&gt;You can see the effect easily when you use scroll bars. They lag behind the mouse cursor a little. If DWM is disabled they move as fast as the scroll bars in non-WPF applications. It doesn't look so bad actually, but I'd still like to be able to change this.&lt;br&gt;&lt;br&gt;</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#758803</link><pubDate>Sun, 17 Sep 2006 12:18:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:758803</guid><dc:creator>Brandn Paddock</dc:creator><description>Theoretically... couldn't an Expose-like application be written using the thumbnail API? (so long as you aren't doing any 3D rotation stuff like Flip 3D)&lt;br&gt;&lt;br&gt;</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#759712</link><pubDate>Mon, 18 Sep 2006 00:19:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:759712</guid><dc:creator>Mike Dunn</dc:creator><description>I can't remember where I saw it (somewhere in an MS blog, to narrow it down a bit ;) ) but I remember seeing a blog post within the past couple of days from a guy who had written an Expos&amp;#233;-like app and was gonna post it on CodePlex.</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#760361</link><pubDate>Mon, 18 Sep 2006 10:13:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:760361</guid><dc:creator>Simon on the (dot) Net</dc:creator><description>Mike : The thing you saw was probably this :&lt;br&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.labo-dotnet.com/simon/archive/2006/09/12/11116.aspx"&gt;http://blogs.labo-dotnet.com/simon/archive/2006/09/12/11116.aspx&lt;/a&gt;.&lt;br&gt;That is in french (yes, I am, sorry ^^), and there is no error / exception handling at all.&lt;br&gt;The trigger-key is F12 (not configurable in this early version).&lt;br&gt;&lt;br&gt;This code is using exclusively Dwm thumbnails (via calls to DwmUpdateThumbnailProperties) and is not really performant... That is a shame that in a Vista / Framework .Net 3.0 environment, there is no way to obtain a VisualBrush from these thumbnails.</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#764780</link><pubDate>Thu, 21 Sep 2006 19:15:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:764780</guid><dc:creator>NyaRuRu</dc:creator><description>Hi Greg, &lt;br&gt;&lt;br&gt;I have a question about declerations of DwmSetDxFrameDuration and DwmModifyPreviousDxFrameDuration in dwmapi.h&lt;br&gt;&lt;br&gt;They recieve cRefreshes as Int32.&lt;br&gt;Should I pass the DXRefreshes to these APIs?&lt;br&gt;If so, please update the declerations like this.&lt;br&gt;&lt;br&gt;// cRefreshes -&amp;gt; cDXRefreshes&lt;br&gt;&lt;br&gt;DWMAPI&lt;br&gt;DwmSetDxFrameDuration(&lt;br&gt; &amp;nbsp; &amp;nbsp;HWND hwnd, &lt;br&gt; &amp;nbsp; &amp;nbsp;INT cDXRefreshes&lt;br&gt; &amp;nbsp; &amp;nbsp;);&lt;br&gt;&lt;br&gt;DWMAPI&lt;br&gt;DwmModifyPreviousDxFrameDuration(&lt;br&gt; &amp;nbsp; &amp;nbsp;HWND hwnd,&lt;br&gt; &amp;nbsp; &amp;nbsp;INT cDXRefreshes&lt;br&gt; &amp;nbsp; &amp;nbsp;BOOL fRelative&lt;br&gt;);</description></item><item><title>Glass nugget</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#766276</link><pubDate>Fri, 22 Sep 2006 18:27:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:766276</guid><dc:creator>Daniel Moth</dc:creator><description>Glass nugget</description></item><item><title>A Couple of Cool Uses of the DWM Thumbnail APIs</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#775028</link><pubDate>Thu, 28 Sep 2006 09:44:09 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:775028</guid><dc:creator>Greg Schechter's Blog</dc:creator><description>I've seen a couple of cool uses in the past week of the DWM Thumbnail API (described in my previous post)...</description></item><item><title>re: APIs in the Desktop Window Manager</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#807913</link><pubDate>Mon, 09 Oct 2006 15:28:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:807913</guid><dc:creator>Christopher</dc:creator><description>&lt;p&gt;Making Thumbnails that are larger than the original window seems like it might be useful for an updated version of the Magnafier accessibility tool assuming it can be cropped. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Well, I guess it would also require being able to thumbnail the entire screen rather than just one window at a time, but if it can do that (I don't know but not according to my understanding) then it would be perfect.&lt;/p&gt;
</description></item><item><title>Application Thumbnails in Vista</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#1176270</link><pubDate>Thu, 30 Nov 2006 09:53:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1176270</guid><dc:creator>Infosys | Microsoft</dc:creator><description>&lt;p&gt;Using Application Thumbnails in Vista&lt;/p&gt;
</description></item><item><title>Wie kann man das win message WM_DWMWINDOWMAXIMIZEDCHANGE registrie | hilpers</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#9347961</link><pubDate>Tue, 20 Jan 2009 18:30:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9347961</guid><dc:creator>Wie kann man das win message WM_DWMWINDOWMAXIMIZEDCHANGE registrie | hilpers</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://www.hilpers.com/268101-wie-kann-man-das-win"&gt;http://www.hilpers.com/268101-wie-kann-man-das-win&lt;/a&gt;&lt;/p&gt;
</description></item><item><title> Greg Schechter s Blog APIs in the Desktop Window Manager | debt consolidator</title><link>http://blogs.msdn.com/greg_schechter/archive/2006/09/14/753605.aspx#9754802</link><pubDate>Mon, 15 Jun 2009 22:46:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9754802</guid><dc:creator> Greg Schechter s Blog APIs in the Desktop Window Manager | debt consolidator</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://mydebtconsolidator.info/story.php?id=11470"&gt;http://mydebtconsolidator.info/story.php?id=11470&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>