08-07-2007, 09:09 PM
thank you, sorry about that i had a blonde moment.
///////////////////QUESTION////////////////////////
i know that SystemParametersInfo along with SPIF_SENDWININICHANGE needs a file path but is there a way of using the image handle ? without saving the file.
something like this:
i know im not asking this question very well sorry for that
///////////////////QUESTION////////////////////////
i know that SystemParametersInfo along with SPIF_SENDWININICHANGE needs a file path but is there a way of using the image handle ? without saving the file.
something like this:
str sPath = "D:\Downloads\Compressed\1920 x 1200 collection\accelerator1920.jpg"
int b=LoadImageAnyFormat(sPath)
SystemParametersInfo SPI_SETDESKWALLPAPER 0 b SPIF_UPDATEINIFILE|SPIF_SENDWININICHANGE
10
DeleteObject(b)
i know im not asking this question very well sorry for that