Click here to Skip to main content
15,903,012 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all

Why is class wizard disabled in Visual C++ 6 in some projects?
Posted
Updated 21-May-10 4:05am
v3

Disabled means

Class Wizard in menu is disabled or it showing nothing in Class Wizard?

if you have written some thing not expected by wizard in AFX tags then class wizard not able to parse

//{{AFX_
        // ClassWizard generated code here<br>
//}}AFX_
</br>
 
Share this answer
 
v2
Comments
saalavi 24-May-10 13:57pm    
//{{AFX_ do something ??! Is not a comment ?
Radhakrishnan G. 24-May-10 23:38pm    
yea it is comment, but Classwizard used this tag to identify code wizard generated code such as DoDataExchange(), MessageMap, etc
Just guessing here, but the project type may determine whether Class Wizard is enabled or not. Originally, Class Wizard was intended to help programmers with mapping window messages to methods of a class. As a result it would be enabled for a WIN32 aplication, but would not be available for a console application which does not have to deal with windows messages. :)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900