摘要
在分析WindowsAPI多文档界面(MDI)环境机制的基础上,介绍支持多文档界面的应用程序的组成结构,并利用WindowsAPI预定义的文本编辑标准控件(edit类)开发一个支持多文档界面的文本编辑器,从而实现了在一个编辑器程序实例中同时编辑不同的文本。文中给出了具体的编程方法和相关程序代码。通过该编程示例展示出开发支持多文档界面的Windows应用程序的基本编程规范。
Based on analyzing the mechanism of the Multiple-Document Interface (MDI) in Windows API environment,introduces the architecture of MDI programs of Windows application, and the developing the MDI-text-editor by using the predefined edit standard control class, and then, the editor may edit different text documents at same time within one application program instance. It also provides the programming method and codes of the editor. By this programming example it presents the programming specification of Windows applications that supports Multiple-Document Interface
出处
《微机发展》
2003年第11期6-8,共3页
Microcomputer Development