Rendering issue in a WPF-based application in which layered windows are enabled in Windows XP

Article ID: 2803542 - View products that this article applies to.
Expand all | Collapse all


Assume that you're developing a Windows Presentation Foundation (WPF)-based application that uses layered windows. In this situation, you set the Window.AllowsTransparency property to True. However, layered windows may be rendered incorrectly in a Windows XP environment when NetMeeting or other screen-sharing technologies are used to share the contents of the screen.


To work around this issue, don't use layered windows in WPF-based applications that are running in a Windows XP environment.

More information

There are known compatibility issues with displaying layered windows over various remote display applications that are running in Windows XP. Therefore, we recommend that you avoid using layered windows in this situation and instead use an alternative approach, when one is available. For example, you can produce a similar window appearance by using the native SetWindowRgn function to create non-rectangular windows.

For more information about the SetWindowRgn function, go to the following Microsoft website:


Article ID: 2803542 - Last Review: February 14, 2013 - Revision: 4.0
Applies to
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Service Pack 3

Give Feedback


Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from