Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

revert desktop colours

Posted on 2001-09-03
2
Medium Priority
?
289 Views
Last Modified: 2010-04-06
is it possible to revert the colors of an image that is used as the desktop pic? if so can someone give me some code to do this!

thanks
0
Comment
Question by:marksmall
2 Comments
 
LVL 1

Expert Comment

by:Dennis9
ID: 6450443
Hi.
Go to the registry, open the key with the bagground path, open the picture then in your prog and revert the colors, save it and maybe overwrite the other pic.
...just an idea...

Dennis ;)
0
 
LVL 1

Accepted Solution

by:
ntony earned 100 total points
ID: 6450852
HKEY_CURRENT_USER\Control Panel\Colors
Backgroud is the value of the wallpaper background
if there is a picture as wallpaper you can find it on:

HKEY_CURRENT_USER\Control Panel\desktop
Wallpaper


so your problem is to change the Background (if Wallpaper is (None) otherwise you have to change the image!!
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

916 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