I wanna make a small program which changes the Desktop Wallpaper.
Ok ehm. I found many things but nothing is working!
Maybe because of my os: Win 7 x64
Ok here is the code which should run when someone click on the button.
SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,"C:\\wallpaper.bmp", SPIF_SENDCHANGE);
Tried it with different 4th parameters but nothing works.
Maybe its because of my os as i said above.
Someone now a better function?
// Using Visual C++ Express Edition 2008