首页 | 官方网站   微博 | 高级检索  
     

MFC框架下成员函数访问和回调函数中访问类成员函数
引用本文:张志,钟立军.MFC框架下成员函数访问和回调函数中访问类成员函数[J].电脑编程技巧与维护,2010(4):28-29.
作者姓名:张志  钟立军
作者单位:国防科学技术大学航天与材料工程学院,长沙,410073
摘    要:对VC++编程中如何访问MFC框架下各类的成员函数进行详细介绍,包括基于Doe/Viewarchitecture和Di—alogbased结构。给出Doe/View下访问应用程序类、框架类、文档类、视类的快速方法,对基于Dialog下如何访问对话框类成员函数进行了详细阐述。介绍了回调函数中访问类成员函数的方法。

关 键 词:MFC  Doc/View  architecture  Dialog  based  回调函数

Call Member Functions in MFC and Accessing Class Member Functions in Callback Functions
ZHANG Zhi,ZHONG Lijun.Call Member Functions in MFC and Accessing Class Member Functions in Callback Functions[J].Computer Programming Skills & Maintenance,2010(4):28-29.
Authors:ZHANG Zhi  ZHONG Lijun
Affiliation:College of Aerospace and materials engineering;National University of Defense Technology;Changsha 410073
Abstract:How to call member functions Including based on Doc/View architecture and Dialog based structure on each other in MFC is firstly detailed presented in this paper. The fast way of calling the Application Class, Framework Class, Document Class and View Class in Doe/View and How to access Dialog class member function under Dialog based are elaborated introduced. Finally, the method of accessing class member functions in callback functions is presented.
Keywords:MFC  Doc/View architecture  Dialog based  callback function  
本文献已被 CNKI 维普 万方数据 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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

京公网安备 11010802026262号