Solved

Wallpaper

Posted on 1997-06-24
1
190 Views
Last Modified: 2010-04-04
How do I get my Delphi program to change the Windows 95 wallpaper and then refresh it so the user can see the change?

I use Delphi 1 & 2
0
Comment
Question by:Draco
1 Comment
 
LVL 1

Accepted Solution

by:
sleach earned 20 total points
ID: 1337718
for delphi 2, try:

SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, 'C:\windows\NewPaper.bmp', SPIF_UPDATEINIFILE);

or

SystemParametersInfo(SPI_SETDESKWALLPAPER, 0, 'C:\windows\NewPaper.bmp', SPIF_SENDWININICHANGE);

Not sure which one is the paramater for the last option.  I would test, but I just re-installed windows, and delphi isn't back up yet.

0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question