Switching Wallpapers at Run time

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.
 
K

KM

Santiago,

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

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top