Probably simple VC++ 6.0 IDE question

Posted on 2005-04-21
Last Modified: 2010-04-01
All the sudden in my workspace, when I choose Insert->New Class, I only see Generic Class in the class type drop-down.. I used to see MFC class and I forget what the other one was.  

Did I inadvertantly turn something off?
Question by:PMH4514
    LVL 3

    Expert Comment

    If your project is MFC based, then the class wizard will give you this option, if not, then you only get generic class. Same goes for ATL. You can, however, use the generic class and supply the base class to be whatever you wish, but if you're not using MFC, deriving from CButton makes very little sense.

    Hope this helps,


    Author Comment

    my project is MFC based and I have all along had the option to create MFC classes..  What I'm trying to say is that all of the sudden (started two days ago) I no longer have that option in my project.  can't figure out why :)
    LVL 49

    Accepted Solution

    Your CLW file may be corrupt.  To rebuild it, see:
         Rebuilding the ClassWizard (.clw) File

    Author Comment

    that did it, thanks!
    LVL 49

    Expert Comment

    great!  Thanks for the points and the grade :-)

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
      Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
    The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
    The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

    733 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now