I got a little problem here with the SystemParametersInfo function.
To simplify, I got this code :
SystemParametersInfo(SPI_SETDESKWALLPAPER,0,name,0);
where name is a path+bmp file ...
It works..But not as I really want to...
Because if the current wallpaper is changed with the new bmp included in the
name,
if I restart ther computer the wallpaper will be again the old bmp choosen,
because the setdeskwallpaper don't seems to change anything in the display
windows property.
In fact windows will keep the config that was originally manually made.
So, is there a way to really change the wallpaper, even for windows?
A great resource for Windows programming is the Microsoft Developer's Network.
You can get the CD for about $70, or if you have a reasonably fast Internet
connection, you can get it all online at:
http://msdn.microsoft.com
+====================================================+
| Jonathan Arnold (mailto:jdar...@buddydog.org) |
| Havas Interactive HyperStudio Engineer |
| http://www.buddydog.org http://www.hyperstudio.com |
+====================================================+
Outside of a dog, a book is man's best friend. Inside
of a dog, it's too dark to read. -- Groucho Marx