Choose Color

A tool for previewing foreground and background color combinations
Download

Choose Color Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Freeware
  • Publisher Name:
  • PPresedo
  • Publisher web site:
  • http://www.codeproject.com/Members/PPresedo
  • Operating Systems:
  • Windows All
  • File Size:
  • 7 KB

Choose Color Tags


Choose Color Description

I often wonder what color combinations will look like when selecting colors to use for a control. I also find myself wondering what the red, green, and blue values for an RGB value are. The Choose Color utility is meant to be used to preview foreground and background color selections as well as decode an RGB value into its red, green, and blue components. To preview a color just enter the red green values. To decode an RGB value into its red, green, and blue components just enter an RGB value and leave the RGB edit control. When it looses the focus the red, green, and blue values will be displayed for the entered RGB value. The Choose Color application was developed to be a small tool that shows the common MFC example for handling the dynamic setting of the foreground and background colors for a control. If you view the ColorStatic.cpp file you will see the implementation of the CColorStatic class. It has member functions for setting the foreground and background color of the static control. The main workhorse of the class is the CtlColor function.


Choose Color Related Software