Mega Code Archive

 
Categories / Delphi / Examples
 

Set the wallpaper with your application in win32

To the wallpaper in Windows 95/ Windows NT you must use the Win32 API function SystemParametersInfo. SystemParametersInfo retrieves and sets system wide parameters including the wallpaper. SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, 'c:\Windows\Seaside.bmp', 0)