After Ive created by application with AppWizard, how do I create the view class, derived from CFormView, so I can easily place buttons on it?
A. AppWizard will have made the CFormView-derived class for you. It should already be there. AppWizard will create the CView-derived view class for you. If you want it to be derived from CFormView, then on the last dialog box that AppWizard asks you (before clicking ‘Finish’), make sure that the ‘Base Class’ specified for the View class is CFormView, and not CView (which is it’s default). Note that you will need to highlight the view class from the list of classes that AppWizard will create for you (you will find that you can’t change the base class for anything else).
Related Questions
- After Ive created by application with AppWizard, how do I create the view class, derived from CFormView, so I can easily place buttons on it?
- What sort of things are important to pay attention to, when using AppWizard to create a new application?
- Can I create a new edition of a class in a versioned application?