Lester Lobo posted an example of UsesPerPixelOpacity=true: http://blogs.msdn.com/llobo/archive/2006/02/24/538757.aspx

Keep in mind you don't need to use HwndSource -- you can use the Popup class instead, which is generally more convenient since it saves you some pinvoking.