Document and View Classes Created by the MFC Application Wizard
For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.
The MFC Application Wizard gives you a head start on your program development by creating skeletal document and view classes for you. You can then map commands and messages to these classes and use the Visual C++ source code editor to write their member functions.
The document class created by the MFC Application Wizard is derived from class CDocument. The view class is derived from CView. The names that the Application Wizard gives these classes and the files that contain them are based on the project name you supply in the Application Wizard dialog box. In the Application Wizard, you can use the Generated Classes page to alter the default names.
Some applications might need more than one document class, view class, or frame-window class. For more information, see Multiple Document Types, Views, and Frame Windows.