Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

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?

0
Posted

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?

0

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

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123