I've tried:
but that just changes my desktop to black.Code:string ft = "C:\\test.bmp"; SystemParametersInfo(SPI_SETDESKWALLPAPER, NULL, ft, SPIF_SENDCHANGE)
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);
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi
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
Free the weed!! Class B to class C is not good enough!!
And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi