Class Wizard Problem
-
After I have replace the default constructor from the property page class with a constructor having an input caption variable, I am not able to get back to the class wizard on this class. The IDE displays a message: A duplicate insert block exits for class "CInboxPropPage" in the source file (InboxPropPage.cpp, InboxPropPage.h). However, there is no compilation error. How can I fix the problem so I can still get to the class wizard to add more event handling functions and memory variables? Elizabeth
-
After I have replace the default constructor from the property page class with a constructor having an input caption variable, I am not able to get back to the class wizard on this class. The IDE displays a message: A duplicate insert block exits for class "CInboxPropPage" in the source file (InboxPropPage.cpp, InboxPropPage.h). However, there is no compilation error. How can I fix the problem so I can still get to the class wizard to add more event handling functions and memory variables? Elizabeth
I got it fixed myself. I removed the lines from the old constructor. I guess even I commented them out, the class wizard still treats them as regular code for example //AFX_DATA_INIT was appearing in two places, one at the old(replaced) constructor, and one at the replacing constructor. Elizabeth