首页 | 本学科首页   官方微博 | 高级检索  
     检索      

用类实现一个应用处理多种文档
引用本文:王晓川,赵恒永.用类实现一个应用处理多种文档[J].北京化工大学学报(自然科学版),1998,25(3):83-85,90.
作者姓名:王晓川  赵恒永
作者单位:北京化工大学计算机系
摘    要:介绍了如何用VisualC++语言的一个Windows和MFC的应用程序中同时处理两种类型以上的文件。例如在一个报表制作程序中,既要处理存贮报表格式和内容的数据文件,又要处理对数据进行运算的命令文件。这两个窗口不论是外部表现还是内部处理机制都是完全不同的。MFC对Windows函数的封装和模块化的程度很高,实现时遇到了麻烦,在此通过实验获得的解决这一问题的一些经验,供读者参考。

关 键 词:  文档  视口  Visualc++  MFC  Windows

Dealing with Application Documents of Multiple Kinds by MFC
Institution:(Department of Computer,Beijing University of Chemical Technology,Beijing,100029)
Abstract:This article introduces the way how to deal with documents of multiple kinds in Windows and MFC (Microsoft Foundation Class) based on application programs using the Visual C language.In a report generation program,for instance,both data documents storing the format and contents of the report and command documents that the data are operated by are to be processed.However,the two windows concerned are completely different from each other in external performance and internal mechanism.It is therefor quite troublesome to fulfill this task as MFC seals up many windows functions and is highly modularized.Some experience obtained through experiments to solve this problem is given herein for readers' reference.
Keywords:class  document  view
本文献已被 CNKI 维普 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号