Overview
The document-view architecture is useful for many applications, but sometimes a simpler program structure is sufficient. This chapter includes three sample applications: a dialog box–based program, a Single Document Interface (SDI) program, and a Multiple Document Interface (MDI) program. None of these programs uses document, view, or document-template classes, but they all use command routing and some other Microsoft Foundation Class (MFC) library features. In Microsoft Visual C++ .NET, you can create all three types of applications using the MFC Application Wizard.In each example, we'll look at how the MFC Application Wizard generates code that doesn't rely on the document-view architecture and how you can add your own code.