How To Color Text ClassWizard Updates to Make Mods Easy to See (125779)



The information in this article applies to:

  • Microsoft Visual C++, 32-bit Editions 2.0
  • Microsoft Visual C++, 32-bit Editions 2.1
  • Microsoft Visual C++, 32-bit Editions 4.0
  • Microsoft Visual C++, 32-bit Editions 4.1
  • Microsoft Visual C++, 32-bit Enterprise Edition 4.2
  • Microsoft Visual C++, 32-bit Professional Edition 4.2
  • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
  • Microsoft Visual C++, 32-bit Professional Edition 5.0
  • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
  • Microsoft Visual C++, 32-bit Professional Edition 6.0
  • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q125779

SUMMARY

In Visual C++ version 2.x, the default color for text modified by the ClassWizard is black print on a white background; in Visual C++ version 4.0, the default color is dark gray print on a white background. Visual C++ is aware of the code that the ClassWizard modifies and can highlight these changes for you using a different color. This makes the new modifications very obvious and easy to find.

To set a new text color for ClassWizard-modified code using Visual C++ 2.x, do the following:

  • Choose Options from the Tools menu.
  • Select the Colors Tab in the Options dialog box.
  • Select Wizard-Modified Code in the Set Colors For listbox.
  • Define the colors for text and background.
To set a new text color for ClassWizard-modified code using Visual C++ 4.x and later versions, do the following:

  • Choose Options... from the Tools menu.
  • Select the Format Tab in the Options dialog box.
  • Select All Windows or Source Windows in the Category listbox.
  • Select Wizard Code in the Colors listbox.
  • Select the desired colors for text and background from the Foreground and Background drop-down list boxes, respectively.

Modification Type:MinorLast Reviewed:6/29/2004
Keywords:kbhowto kbide kbwizard KB125779