Mirror

Set the wallpaper with your application in Win32 (Views: 705)


Problem/Question/Abstract:

Set the wallpaper with your application in Win32

Answer:

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)

<< Back to main page