I have in w transparent window a webbrowser but it doesn't show. If i put this in the window xaml file AllowsTransparency="True" WindowStyle="None" the browser doesn't appear. if i put AllowsTransparency="False" WindowStyle="None" the browser appears.
I used their example from http://msdn.microsoft.com/en-us/library/system.windows.controls.webbrowser.aspx but i have that problem.
Anyone with a solution or maybe the guys form WPF sould resolve this bug. :)
P.S. I stil lwant to use Transparent Window. Kee it simple
Huh??? "It's simply not supported"??? What kind of answer is that? We're able to build wpf apps that have "borderless" windows but if an app needs to use the webbrowser that window must break the ui consistency of the app by requiring a border??? Is there a real reason for this lack of support for transparency?
What's Microsoft's response to this inconsistency- all other wpf controls support AllowsTransparency = true (or at least I haven't found one that doesn't yet).
Obviously our app needs this support and we need this fixed asap!
Unfortunately you're not about to get this fixed. It is a fundamental limitation of Windows that top-level windows with per-pixel alpha cannot host child windows. A web browser is an hwnd-based window so counts as a child window in the win32 sense. It's the same when you try and host any hwnd-based control in a WPF app.
Even if Microsoft managed to support this in Windows 7, it would still be useless as presumably you'd need to also support XP/2003/Vista.
WPF is subject to the same limitations as the rest of Windows.Controls for WPF and Windows Forms at http://www.divelements.co.uk
Microsoft is conducting an online survey to understand your opinion of the Msdn Web site. If you choose to participate, the online survey will be presented to you when you leave the Msdn Web site.