Transparent Window in .NET

is there any way that winforms or WPF can do this kind of UI? transparent with blur window.

Answers


A forenote: Windows 8 removes the Aero Glass effect. Windows will appear with a solid background where there would be glass (like how they appear on Windows 7 when you disable the glass effect but still run the DWM).

That said, the effect is done using Win32's DwmExtendFrameIntoClientArea function. Using this in your program differs depending on whether you're using WPF or WinForms (as WPF windows do some pretty interesting window subclassing, and of course, WPF controls are largely windowless).

To get a "whole glass" window, you just use the DwmExtendFrameIntoClientArea function to fill your window, rather than just the first 50px or so, which is what IE and other browsers do.

This is the canonical MSDN article on how to do this with WPF: http://msdn.microsoft.com/en-us/library/ms748975.aspx

For WinForms, see this blog article: http://blogs.msdn.com/b/tims/archive/2006/04/18/578637.aspx

Enjoy, but not for long considering Windows 8...


Need Your Help

how to draw text box inside the canvas

javascript jquery html5 canvas

i need text box inside the canvas. is it possible to draw textbox inside the canvas??

Rails 3 functional test can't find my controller

unit-testing ruby-on-rails-3 routing routes functional-testing

I'm trying to test my authlogic code in my Ruby on Rails 3 app and I'm running into some trouble testing my users controller.

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.