• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 207
  • Last Modified:

class wizard

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?
0
saidi
Asked:
saidi
1 Solution
 
fstabCommented:
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.

fstab.
0
 
saidiAuthor Commented:
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.
0
 
hazmanCommented:
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.

regards,
Hazman.
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now