Single Document Support document view schema, data saving-(read-Modify) document class function-display (view class function), more convenient. Based on the dialog box, the main window is a dialog box type, you can easily use the control, WYSIWYG programming, more convenient.
single-document applications like Notepad are the basis for the development of file-processing software, except that each application processes only one document (compared to the multiple file). An application based on a dialog box like "Calculator", which has no documentation to work with, is generally the basis for the development of the tool software.
Dialog based (3 classes): CAboutDlg program name DLG Single document (5 classes): Caboutdlgcmainframe program name, DOC program name, view multiple documents (6 classes): Caboutdlgcmainframe program name, DOC program Name Viewcmainframe himself to a little bit. The dialog box is the simplest and must be the least class. A single bet is less than multiple documents.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Types of MFC applications created: Single document + Multi-document + dialog-based