I've tried:
but that just changes my desktop to black.Code:string ft = "C:\\test.bmp";
SystemParametersInfo(SPI_SETDESKWALLPAPER, NULL, ft, SPIF_SENDCHANGE)
Printable View
I've tried:
but that just changes my desktop to black.Code:string ft = "C:\\test.bmp";
SystemParametersInfo(SPI_SETDESKWALLPAPER, NULL, ft, SPIF_SENDCHANGE)
Code:SystemParametersInfo(SPI_SETDESKWALLPAPER, NULL, ft.c_str(), SPIF_SENDCHANGE);
I prefer using the ActiveDesktop interfaces. You can do more with them
http://cboard.cprogramming.com/showt...ight=wallpaper
yeah SPI only works for .bmp