Solved

Color Registers

Posted on 2002-05-22
8
166 Views
Last Modified: 2010-04-04
Remember in DOS when all you had was 65k colours to choose from yet could only display 256
colors on the screen at any one time, well...

People used to make cool faders by altering the Color Registers for RGB values, so you could make the Standard red color go from anything between 000000 - FFFFFF , is this possible in windows? I want to make a color scrolling rainbow fader of some text ?

Any Suggestions?

- Thanks


Craig C.
0
Comment
Question by:craig_capel
  • 2
  • 2
  • 2
  • +2
8 Comments
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 7028947
check out the helpfile for Palettes
0
 
LVL 14

Expert Comment

by:DragonSlayer
ID: 7028948
umm... specifically, check out AnimatePalette from the Win32 API help file.
0
 
LVL 9

Expert Comment

by:ginsonic
ID: 7028976
listening
0
 
LVL 1

Accepted Solution

by:
Fraction earned 100 total points
ID: 7034533
In DOS you used a screenmode with 8-bit color-depth (256 colors), if you use a bitmap you can change this to 8-bit color-depth by setting TBitmap.PixelFormat to pf8bit. Then you can play with the palette.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 2

Author Comment

by:craig_capel
ID: 7036547
Well i wanted to change the whole applications colors, but it's looking not possible now....

Thanks All...
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9006680
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Accept answer from Fraction

Please leave any comments here within the next seven days.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Paul (pnh73)
EE Cleanup Volunteer
0
 
LVL 2

Author Comment

by:craig_capel
ID: 9009051
"Accept answer from Fraction"

No, how about you delete this thread instead... the question has not been answered...
0
 
LVL 1

Expert Comment

by:pnh73
ID: 9010307
I believe the answer from Fraction could have led to a successful answer. It contains some useful information.

Paul (pnh73)
EE Cleanup Volunteer
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now