[Last Call] Learn how to a build a cloud-first strategyRegister Now


Probably simple VC++ 6.0 IDE question

Posted on 2005-04-21
Medium Priority
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
  • 2
  • 2

Expert Comment

ID: 13835103
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

ID: 13835325
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

DanRollins earned 200 total points
ID: 13890359
Your CLW file may be corrupt.  To rebuild it, see:
     Rebuilding the ClassWizard (.clw) File

Author Comment

ID: 13894205
that did it, thanks!
LVL 49

Expert Comment

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

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.
Suggested Courses

830 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