Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How do I change periodically wallpapers in Windows XP?

Posted on 2006-04-29
2
Medium Priority
?
257 Views
Last Modified: 2013-11-20
I want to wite a VC++ MFC program to change periodically the wallpapers in Windows XP. All these images are under .bmp format and stored in a designated directory. I'm using Microsoft VC++6. Thanks for your help.
0
Comment
Question by:Volga
2 Comments
 
LVL 22

Accepted Solution

by:
mahesh1402 earned 400 total points
ID: 16571886
Have a look at SystemParametersInfo with SPI_SETDESKWALLPAPER.

::SystemParametersInfo(SPI_SETDESKWALLPAPER, 0,szFilename, SPIF_UPDATEINIFILE);

where szFilename is the new wallpaper file.

-MAHESH
0
 

Author Comment

by:Volga
ID: 16575321
Mahesh,
Thankx for the advice.
0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Question has a verified solution.

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

Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
In this post we will learn different types of Android Layout and some basics of an Android App.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Enter Foreign and Special Characters Enter characters you can't find on a keyboard using its ASCII code ... and learn how to make a handy reference for yourself using Excel ~ Use these codes in any Windows application! ... whether it is a Micr…
Suggested Courses

578 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