Set Image as desktop background
I searched on msdn for setting a bitmap as desktop background, but found nothing good on it. COuld anyone please give me a link or tell me what I need to do to write soem C++ code to set the desktop background for a certain image like in paintbrush or IE?
Look at the SystemParametersInfo API call in msdn, it''s what you are looking for. Pass the SPI_SETDESKWALLPAPER flag along with a path, and voila''!
Note that the opposite functionality (SPI_GETDESKWALLPAPER) is for Win2k only
---
PAGE FAULT: Please insert "Swap File, Disk 2"
and press any key to continue.
Note that the opposite functionality (SPI_GETDESKWALLPAPER) is for Win2k only
---
PAGE FAULT: Please insert "Swap File, Disk 2"
and press any key to continue.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement