Share via


Working with Documents and Views

 

The latest version of this topic can be found at Working with Documents and Views.

The Microsoft Foundation Classes (MFC) library relies on a document/view architecture for many of its features. Typically, a document stores your data and a view displays it within the client area of a frame window and manages user interaction with the data. The view communicates with the document to obtain and update the data. You can use the database classes with the framework or without it.

For more information about using database classes in the framework, see MFC: Using Database Classes with Documents and Views.

By default, the MFC Application Wizard creates a skeleton application with no database support. However, you can select options to include minimal database support or more complete form-based support. For more information about application wizard options, see Database Support, MFC Application Wizard.

You can also use the database classes without using the full document/view architecture. For more information, see MFC: Using Database Classes Without Documents and Views.

See Also

ODBC and MFC