Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Image manipulation
#6
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:
Code:
Copy      Help
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


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)