Hey guys, I'm making a little wallpaper changer since I've finally had enough of Display Fusion's idea of 'random', and I've got it all working nicely, but the only problem is that the wallpaper changes instantly. Whenever Windows 7 or DisplayFusion rotate the wallpaper theres this lovely fade effect, which I'd love to add.
Does anyone have any idea how this is done? The best I can think of is creating multiple images each with different opacity, and then switch between them rapidly, but I doubt thats going to make my CPU very happy.
DisplayFusion has the setting "Use transitions when changing wallpaper (Windows 7 only)", which I can only assume is what I'm after, however Google is returning didly squat as to what exactly that means.
I've tried using API monitors, but none of them can spy on DisplayFusion since its a .Net application, and they don't seem to return anything interesting when I try and spy on Windows Explorer. I've looked all over the web but I can't really see anything related to wallpapers or transitions in Window's dll files.
Question
Pc_Madness
Hey guys, I'm making a little wallpaper changer since I've finally had enough of Display Fusion's idea of 'random', and I've got it all working nicely, but the only problem is that the wallpaper changes instantly. Whenever Windows 7 or DisplayFusion rotate the wallpaper theres this lovely fade effect, which I'd love to add.
Does anyone have any idea how this is done? The best I can think of is creating multiple images each with different opacity, and then switch between them rapidly, but I doubt thats going to make my CPU very happy.
DisplayFusion has the setting "Use transitions when changing wallpaper (Windows 7 only)", which I can only assume is what I'm after, however Google is returning didly squat as to what exactly that means.
At the moment I'm using,
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, sGeneratedImagePath, SPIF_UPDATEINIFILE | SPIF_SENDWININICHANGE);
I've tried using API monitors, but none of them can spy on DisplayFusion since its a .Net application, and they don't seem to return anything interesting when I try and spy on Windows Explorer. I've looked all over the web but I can't really see anything related to wallpapers or transitions in Window's dll files.
Anyone got any ideas? :(
Link to comment
https://www.neowin.net/forum/topic/1035559-fade-effect-when-changing-wallpaper/Share on other sites
2 answers to this question
Recommended Posts