Setting the Background Color

To make the nonscrolling region visually distinct from the scrolling region, you can change the background color. You specify a background color for a nonscrolling region in the [WINDOWS] section of the Help project file. For example, the following entry in the Help project file tells Windows Help to use a light gray background for the nonscrolling region in the main Help window:

[WINDOWS]
main="Command Reference", (0,0,1023,1023), , , (192,192,192)

The numbers (192, 192, 192) are the only numbers in this entry you need to change to set the background color. They represent the RGB components of the background color.

Hint:

Use the Color application in the Windows Control Panel to see the colors resulting from different RGB values. Choose Color Palette, and then choose Define Custom Colors.

To change the foreground color (in other words, the text), simply format the text using the appropriate Color option in Word for Windows. (For more information, see the [WINDOWS] section in Chapter 16, “The Help Project File.”)