Have an amazing solution built in RAD Studio? Let us know. Looking for discounts? Visit our Special Offers page!
C++DelphiRAD StudioWindows

How To Change Your Background On Windows

delphinautwallpaper

A popular aesthetic in recent years is vaporwave and synthwave which is a blend of futurism and nostalgia rolled into one. We commissioned an artist in Brazil to try and capture some vaporwave aesthetic for RAD Studio, Delphi, and C++Builder. What better way to celebrate Delphi than with some vaporwave desktop wallpapers and Win32 API calls? A separate wallpaper was commissioned for RAD Studio, Delphi, and C++Builder so you can choose which you like best for your desktop background. As you may know Delphi produces native executables on Windows and is able to work very closely with the Win32 API. We would love to see all the creative ways you could mash up the backgrounds and the example application into new projects celebrating Delphi, C++Builder, and RAD Studio!

A simple demo application was created that uses the SystemParametersInfo() Windows API call to set the background (wallpaper) of your Windows desktop. This should work across many versions of Windows including 11/10/8/7 and probably even older versions.

How can I change the Windows background image via the API?

Here is a sample of that Win32 API call. It is literally one line of code. This API call is available to you by simply adding the Windows unit to your uses clause.

The application is built in RAD Studio’s FireMonkey framework which is a cross-platform framework for Android, iOS, macOS, Windows, and Linux. You will see that it features three buttons; one for setting each of the 3 wallpaper backgrounds.

delphinautappsmall-3995973

The full source code for the Change Windows Wallpaper project is available on GitHub and is included below:

Where is the RADnaut Windows wallpaper background?

The full RADnaut image is available below and available on GitHub. You can right click on it and save it from here. There is also a smaller version used as a background within the app itself and suitable for social media.

radnaut-1580491
rad-2253586

Where is the Delphinaut Windows wallpaper background?

The full Delphinaut image is available below and available on GitHub. You can right click on it and save it from here. There is also a smaller version of the background suitable for social media.

delphinaut-5449818
delphi-3043687

Where is the C++naut Windows wallpaper background?

The full C++naut image is available below and available on GitHub. You can right click on it and save it from here. There is also a smaller version of the background suitable for social media.

cppnaut-9829640
cpp-4709328

As you can see it is really easy to access the Win32 API to change the background from within RAD Studio native Windows applications.

Head over and download the full source code for changing the Windows background wallpaper!


What's New for RAD Studio 11

Reduce development time and get to market faster with RAD Studio, Delphi, or C++Builder.
Design. Code. Compile. Deploy.
Start Free Trial   Upgrade Today

   Free Delphi Community Edition   Free C++Builder Community Edition

Related posts
NewsWhitepaper

The Pros And Cons Of Artificial Intelligence

C++CodeIDERAD Studio

C++Builder Compilers available in Version 11 Alexandria

C++DelphiRAD Studio

9 Signs You Should Invest in Automation

C++DelphiNewsRAD StudioWhitepaper

A Beginner’s Guide to Artificial Intelligence

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

IN THE ARTICLES