Question and Answer Database FAQ2477C.txt How do I change the Windows wallpaper in code? Category :Windows API Platform :All Product :C++Builder 3.x Question: How do I change the Windows wallpaper in code? Answer: Call the Windows API function SystemParametersInfo() passing the SPI_SETDESKWALLPAPER parameter along with the filename of the new bitmap to use. Example: SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, "C:\\SOMEPATH\\SOME.BMP", SPIF_SENDWININICHANGE); 7/2/98 10:32:32 AM
Last Modified: 01-SEP-99