Is it possible to create a shaped Avalon app Some kind of shaped opacity mask that will clip the app
I also need to be able to animate this mask during certain operations.
Is it possible to do this, similarly to how it' s done with WinForms apps, except with full alpha transparency
Thanks for any help,
Corey

Shaped Avalon application with full alpha-transparency
Izhido_
I took a look at your vector-based sample apps. Very cool indeed. Do you know of any sample code that I could review to guide me in using Interop and this UpdateLayeredWindow method
Thanks!
Corey
Andy_B
william123
as of the current bits, it is not possible to do what you want to do strictly using WPF. MSFT has annouced that they will support per-pixel alpha for toplevel windows, but it's not clear when any version of that functionality will be available.
that said, you can use interop with layered windows to achieve the effect you want. look at the GadgetUILibrary sample for a way to do nonrectangular toplevel windows. (note: it's built against sept. bits so you have to port it.)
however, that's only part of the work. to actually get full per-pixel alpha you would need to render the window yourself each frame by drawing it offscreen and then using GDI (BitBlt, etc.) to draw it on the screen so that it blends properly. performance using this technique is bad, but if you want it today, that's what you have to do.
Tito Perez
zuoliang
The performance can be excellent, we have found, almost as good as non-alpha blended windows:
http://www.vgdotnet.com/articles/translucent_calculator.shtml
PeterTPeterT
Rob_72
David Botzenhart
Sridhar