Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

When I opened a form, I want the whole background screen to be blurred. I have searched the web but found nothing on this. Any suggestions?

I am working on C# Winform
Posted
Comments
Rob Philpott 28-Jan-15 4:20am    
That goes against the grain of Windows rather. Applications run in windows and should not blur each other out. Are you talking about Aero effect in 7?
BillWoodruff 28-Jan-15 10:57am    
Do you mean you want to take a screen-shot of the current background behind your open Form, blur it, and then show that behind the Form ? I agree with the other opinions expressed here that this is not a good thing to do in Windows.

1 solution

What you could do is to open a full-screen window and apply the DWM glass effect on it, but unfortunately this stopped working in Windows 8.

http://stackoverflow.com/questions/993249/net-glass-effect-in-c-sharp-2-0-applications[^]

Other than that, the solution is to do the gaussian blur effect yourself, which is a really CPU- or GPU-intensive task.

I have to ask: Why would you want this annoying effect? It really breaks the user experience of the user's desktop. Always remember that yours is not the only app running on the user's computer!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900