资 源 简 介
帮助VC的初学者了解向导生成程序的整体结构
Visual C++ 以其功能强大、用户界面友好而倍受程序员们的青睐。但是,在当前的Microsoft 基本类库4.2 版本中,大约有将近200 个类,数千个函数,加之Microsoft 公司隐藏了一些技术细节,使得人们深入学习MFC变得十分困难。
MFC的AppWizard可以生成三种类型的应用程序:基于对话框的应用、单文档应用(SDI)和多文档应用(MDI)。前两者的结构较简单,本文不再赘叙。笔者拟从MFC中的文档/视结构入手,分析一些函数的流程,并解决编制MDI 应用程序过程中的一些常见问题。
-help beginners understand the wizard generates the overall structure of procedures Visual C with the powerful, user-friendly and highly favored by programmers. However, at present the basic class library of the Microsoft version 4.2, some nearly 200 categories, thousands of functions, coupled with Microsoft Corp. hidden some of the technical details, enabling in-depth study MFC very difficult. MFC+5.0 generate three types of applications : Based on the dialog applications, single-file application (SDI) and multi-document applications (MDI). The first two are relatively simple structure, this paper will not dwell on. The author intended from the documents MFC/depending on the structure, the analysis of functio