Registrations are now open. Join us today!
There is still a lot of work to do on the wiki yet! More information about editing can be found here.
Already have an account?

Microsoft KB Archive/107360

From BetaArchive Wiki

How to Change the Colors of the Help File

ID: Q107360

The information in this article applies to:

  • Microsoft FoxPro for Windows, versions 2.5, 2.5a, and 2.5b

By default, the Help file in FoxPro for Windows uses the color green to display the table of contents and the popup/cross-reference words. You can change this color by modifying the WIN.INI file, which is located in the directory where Microsoft Windows is installed.

To modify this file, open the WIN.INI file with any ASCII text editor and modify the [Windows Help] section of the WIN.INI file. Add the following two lines to this section:

   JumpColor =<RRR> <GGG> <BBB>
   PopUpColor=<RRR> <GGG> <BBB>

<RRR> stands for the red value, <GGG> stands for the green value, and <BBB> stands for the blue value. Substitute the values of <RRR>, <GGG>, and <BBB> with numbers between 000 and 255 for the amount of red, green, and blue. For example, entering "000 000 000" (without the quotation marks) for the JumpColor will result in the table of contents of the Help file being displayed as black text on a white background. PopUpColor works the same way. PopUpColor will control the color of the popup/cross-reference words. To achieve the desired color, you may need to test several combinations of values. For more information on how to achieve the color you want, query on the following words here in the Microsoft Knowledge Base:

   jumpcolor and burgundy

NOTE: The method stated above will affect the colors in all Windows Help files. The only way the colors can be changed in a single Help file is to modify the Help source files with the Help Compiler (see page 23 of the "Help Compiler Guide"). The Help Compiler comes with the FoxPro for Windows Distribution Kit.

REFERENCES

"Microsoft Windows Resource Kit," pages 178 to 179

Additional reference words: FoxWin 2.50 KBCategory: kbinterop kbui kbgraphic kbtool kbprg KBSubcategory: FxinteropGeneral


Last Reviewed: June 26, 1995
© 1999 Microsoft Corporation. All rights reserved. Terms of Use.