Switching Wallpapers at Run time

  • Thread starter Thread starter Santiago Allen
  • Start date Start date
S

Santiago Allen

Hi All,

Lets say we have 2 Wallpapers. One of the two is set in the registry
as the wallpaper to be displayed. If you were to copy the second
wallpaper onto the first (I.E. rename wallpaper2 into wallpaper1) would
the new wallpaper be loaded? If so, when? If not, what is requiered
to make the new wallpaper load? Im trying to avoid using a switcing
program.
 
Santiago,

You can try SystemParametersInfo(...,SPI_SETDESKWALLPAPER,...) call.

For non-BMP images try IActiveDesktop::SetWallpaper (if you have ActiveDesktop running)
 
Back
Top