陈秀川, 杨云, 郭琦. 对VC++ MFC类库中CFile类的派生类的研究和示例[J]. 南昌航空大学学报(自然科学版), 2004, 18(4): 76-80,84.
引用本文: 陈秀川, 杨云, 郭琦. 对VC++ MFC类库中CFile类的派生类的研究和示例[J]. 南昌航空大学学报(自然科学版), 2004, 18(4): 76-80,84.
CHEN Xiu-chuan, YANG Yun, GUO Qi. Research & demonstration on the derived classes of Class CFile in VC++ Class Libraries MFC[J]. Journal of nanchang hangkong university(Natural science edition), 2004, 18(4): 76-80,84.
Citation: CHEN Xiu-chuan, YANG Yun, GUO Qi. Research & demonstration on the derived classes of Class CFile in VC++ Class Libraries MFC[J]. Journal of nanchang hangkong university(Natural science edition), 2004, 18(4): 76-80,84.

对VC++ MFC类库中CFile类的派生类的研究和示例

Research & demonstration on the derived classes of Class CFile in VC++ Class Libraries MFC

  • 摘要: VC++中MFC类库中所包含的各个应用结构类都是派生于根类CObject,拥有许多共同的接口和方法,为Win32下的编程提供了许多方便.针对类的派生特性,亦可以通过派生MFC类库中的某些应用结构类,构造可以实现更高效,更实用,功能更强大而不影响其拥有的父类的功能模块的应用子类.本文以CFile类及其由笔者编写的派生类为例,来对MFC类的派生用法进行阐述和研究.

     

    Abstract: Application structure classes contained within VC++ Class Libraries MFC are all derived from base class C Object, and have many common interfaces and methods, which provides many conveniences.According to that characteristic of class, we can also build some new applicationclasses which are derived from some classes in MFC Lib, and are more efficient, more practicable, more useful and have no influence on the function modules of base classes.In this article, we expatiate and discuss on the derive method of MFC by taking for examples class C File and some class written by us.

     

/

返回文章
返回