WPF app with transparent windows and remote desktop causing popunders

I have a WPF application with AllowsTransparency="True" because we like funky borders.

When I remote desktop into a computer and run our application, menus and right click menus in textboxes are popping up behind the application. I verified this by making the background semi transparent. Here's a screen shot:

We're using .net 3.5 SP1 on XP SP3. I've read some blogposts that this is supposed to fix some things with rendering but this is a bug for us. Anyone know of any solutions or am I just out of luck on this?

Answers


There is a known bug related to controls popping up behind their parent window discussed in this MSDN post. There is a hotfix for XP mentioned in the article but some people still experience the issue after applying the hotfix.


You shouldn't use AllowsTransparency="True", it causes a lot of strange bugs and poor performance, if you want funky borders you should do it the old way - calling SetWindowRgn via interop.

Read http://blogs.msdn.com/wpfsdk/archive/2008/09/08/custom-window-chrome-in-wpf.aspx

look at the end at the section titled "Office 2007 without Aero – Or, you are responsible for everything".


Need Your Help

JPA entity id - long or Long

hibernate jpa types entity long-integer

Should the ID of your Entity be long (primitive type) or Long (object type)?

svn client from DOS BAT file prompting for password

svn dos

I'm using Sliksvn Windows client and have a DOS BAT file that contains the svn command below to list contents of a repository.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.