﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Christopher Bennage commented on Resolving graphics problems with NH Prof</title><description>@Nir Thanks for the tip! We will definitely look into that.
</description><link>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment6</link><guid>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment6</guid><pubDate>Tue, 17 Feb 2009 14:43:17 GMT</pubDate></item><item><title>Nir commented on Resolving graphics problems with NH Prof</title><description>Hi,
  
  
I sell a WPF based application with a custom chrom and I had some really strange bugs with it - including rendering problems, crushes and making all the popup windows on the system stop working.
  
  
All those problems (at least 80% of my bug reports) went away when I stopped using AllowTransparency, I still have custom chrome using WinAPI's SetWindowRgn to control the shape of the window.
  
  
If your window is a rectangle with rounded corners you will get better results under Vista using the techniques described at 
[blogs.msdn.com/.../...om-window-chrome-in-wpf.aspx](http://blogs.msdn.com/wpfsdk/archive/2008/09/08/custom-window-chrome-in-wpf.aspx) (look for the "Office 2007 with Aero – Drawing in the NC area with glass" section).
  
  
AllowTransparency is slow and buggy and not fit for production use, it does give you great looking results but it's not worth dealing with all it's problems.
</description><link>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment5</link><guid>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment5</guid><pubDate>Tue, 17 Feb 2009 12:33:18 GMT</pubDate></item><item><title>Ayende Rahien commented on Resolving graphics problems with NH Prof</title><description>Configurator,
  
It is only a funny story on beer.
  
Let me put it this way, I quit because of that project.
</description><link>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment4</link><guid>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment4</guid><pubDate>Tue, 17 Feb 2009 12:14:06 GMT</pubDate></item><item><title>configurator commented on Resolving graphics problems with NH Prof</title><description>Replace the DC? Wow. There's probably a good story behind that, isn't there?
</description><link>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment3</link><guid>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment3</guid><pubDate>Tue, 17 Feb 2009 12:06:19 GMT</pubDate></item><item><title>Ayende Rahien commented on Resolving graphics problems with NH Prof</title><description>Read Christopher post
</description><link>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment2</link><guid>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment2</guid><pubDate>Tue, 17 Feb 2009 11:50:20 GMT</pubDate></item><item><title>Peter Morris commented on Resolving graphics problems with NH Prof</title><description>What was the cause/solution?
</description><link>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment1</link><guid>http://ayende.com/3880/resolving-graphics-problems-with-nh-prof#comment1</guid><pubDate>Tue, 17 Feb 2009 08:12:14 GMT</pubDate></item></channel></rss>