HOWTO: Color Text ClassWizard Updates to Make Mods Easy to See

Last reviewed: October 7, 1997
Article ID: Q125779
The information in this article applies to:
  • The development environment included with: - Microsoft Visual C++, 32-bit Edition, versions 2.0, 2.1, 4.0, 4.1,

         4.2, 5.0
    

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 5.0, 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.


Additional query words: class wizard MFC created
Keywords : WizardIss kbtshoot
Version : WINNT:2.0,2.1,4.0,4.1,4.2,5.0;
Platform : NT WINDOWS
Issue type : kbhowto


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.