class wizard

Posted on 1998-12-15
Medium Priority
Last Modified: 2011-10-03
i added a new generic class in my project, but wenn i open the classwizard i see nothing about the new class, and i can not add a member function in classwizard. what is the reason?
Question by:saidi

Expert Comment

ID: 1180213
You cannot use Classwizard to add member functions to your generic class. Use the Workspace pane to see a "Classview" of your classes in the project. Right click on any class name - this brings up a popup menu, where you choose to add a member function. Hope this helps.


Author Comment

ID: 1180214
i have some example that shows the possibility of use the classwizard to add a member function in a generic class, and you can see the generic class in your class wizard liste.

Accepted Solution

hazman earned 100 total points
ID: 1180215
fstab is right. In version 5.0 (don't know about 6.0), Visual C++ classwizard provides assistance only for certain MFC-derived classes, not generic ones.

Are you sure you're seeing 'generic class' and not 'generic CWnd' class? Generic CWnd is supported by ClassWizard.


Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
This article shows you how to optimize memory allocations in C++ using placement new. Applicable especially to usecases dealing with creation of large number of objects. A brief on problem: Lets take example problem for simplicity: - I have a G…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.

624 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