Export (0) Print
Expand All

CFormView Class

class CFormView : public CScrollView

Remarks

The CFormView class is the base class used for form views. A form view is essentially a view that contains controls. These controls are laid out based on a dialog-template resource. Use CFormView if you want forms in your application. These views support scrolling, as needed, using the CScrollView functionality.

When you are Creating a Forms-Based Application, you can base its view class on CFormView, making it a forms-based application.

You can also insert new Form Topics into document-view-based applications. Even if your application did not initially support forms, Visual C++ will add this support when you insert a new form.

The MFC Application Wizard and the Add Class command are the preferred methods for creating forms-based applications. If you need to create a forms-based application without using these methods, see Creating a Forms-Based Application.

Requirements

Header: afxext.h

See Also

MFC Sample SNAPVW | MFC Sample VIEWEX

Class Members | Base Class | Hierarchy Chart | CDialog | CScrollView | CView::OnUpdate | CView::OnInitialUpdate | CView::OnPrint | CWnd::UpdateData | CScrollView::ResizeParentToFit

Show:
© 2014 Microsoft