is there a way to add fade effect when changing wallpaper just like on windows 7 using c#? Any codes or links to article will be appreciated.
Asked
Active
Viewed 2,887 times
2
-
You want to have the same fade effect as when the wallpaper changes backgrounds automatically? – RCIX Dec 30 '09 at 04:10
-
Good code for changing the wallpaper (but does not address your question about fading) : http://stackoverflow.com/questions/1061678/change-desktop-wallpaper-using-code-in-net/1061682#1061682 – BillW Dec 30 '09 at 05:13
-
@RCIX -not exactly, just want to know if it is possible to do this in c# and how can it be done. – murasaki5 Dec 30 '09 at 06:05
2 Answers
2
This forum post covers changing the wallpaper with a fade: http://www.neowin.net/forum/topic/1035559-fade-effect-when-changing-wallpaper/
They use IActiveDesktop, includes a link to the wrapper class.
Edit
I've now taken this code, and other code, and have implemented it in an open source project: https://pulse.codeplex.com/SourceControl/changeset/view/72677#1589017

Peter
- 9,643
- 6
- 61
- 108
0
You could:
- Create a window behind everything else (except the desktop).
- Paint it with the current wallpaper
- Change the desktop wallpaper
- Fade out the window (increases it's transparency over a second or two)
You'll have to figure out how to get the window in front of the desktop, but behind the explorer icons. (I assume it's possible to do that.)

Seth
- 45,033
- 10
- 85
- 120
-
yeah, i thought of doing that but i can't get the window in the desktop level. – murasaki5 Dec 30 '09 at 06:06