Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Color Registers

Posted on 2002-05-22
8
170 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
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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
 
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 Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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

Suggested Solutions

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…
Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
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…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

829 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