MFC窗口创建过程的研究  被引量:5

Research on process of MFC window creation

在线阅读下载全文

作  者:卫洪春[1] 彭小利[1] 蒲国林[1] 

机构地区:[1]四川文理学院计算机科学系,四川达州635000

出  处:《现代电子技术》2014年第11期151-154,共4页Modern Electronics Technique

基  金:国家自然科学基金(61152003);四川省青年基金(10ZB085);四川文理学院项目(2013JY06)

摘  要:VC开发环境中的Win32 Application生成窗口应用程序,结构简单清晰,MFC生成窗口应用程序的过程相当复杂。为了剖析MFC生成窗口应用程序的具体过程,深入分析了MFC框架的源代码及其调用关系,结合C++面向对象技术的封装、继承、多态、编译预处理等机制,设计了一个模拟系统,用以模拟MFC生成窗口应用程序的具体过程及响应各种消息,以助于深入领会、理解、应用MFC架构,从而编写更好的应用程序。The program structure generated by Win32 Application in VC development environment is simple and clear. The generation process of MFC generated window application program is fairly complex. In order to analyze the specific process of the MFC generated window application program,the source code of MFC framework and its calling relationship is studied deep-ly. In combination with encapsulation,inheritance,polymorphism and compiling preprocessor mechanisms of C++ object-orien-ted technology,a simulation system was designed to simulate the specific process of MFC generated window application pro-gram,and deal with various messages. It can help programmers to further comprehend and apply MFC architecture to write bet-ter Window-based application program.

关 键 词:虚函数 窗口应用程序 消息映射 面向对象技术 

分 类 号:TN711.34[电子电信—电路与系统] TP391[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象