[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

Color Registers

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
craig_capel
Asked:
craig_capel
  • 2
  • 2
  • 2
  • +2
1 Solution
 
DragonSlayerCommented:
check out the helpfile for Palettes
0
 
DragonSlayerCommented:
umm... specifically, check out AnimatePalette from the Win32 API help file.
0
 
ginsonicCommented:
listening
0
Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

 
FractionCommented:
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
 
craig_capelAuthor Commented:
Well i wanted to change the whole applications colors, but it's looking not possible now....

Thanks All...
0
 
pnh73Commented:
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
 
craig_capelAuthor Commented:
"Accept answer from Fraction"

No, how about you delete this thread instead... the question has not been answered...
0
 
pnh73Commented:
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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 2
  • 2
  • 2
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now