COLORS1: Experiments with Color Using Scroll Bars and Static Child Windows

COLORS1 displays three scroll bars in the left half of the client area labeled "Red", "Green", and "Blue". When you scroll, the right half of the client area changes to the composite color indicated by the mix of the three primary colors. The numeric values of the three primary colors are displayed under the three scroll bars. COLORS1 implements the scroll bars and text items using static child windows.

COLORS1 is a companion application for “Programming Windows” by Charles Petzold. The source code for this application has not been modified or tested by Microsoft Corporation.

{ewc navigate.dll, ewbutton, /Bcodeview /T"Click to open or copy files in the colors1 project." /C"samples}