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

MFC中的消息映射机制及其在程序设计中的应用
引用本文:祝站东,周振红.MFC中的消息映射机制及其在程序设计中的应用[J].数字社区&智能家居,2006(26).
作者姓名:祝站东  周振红
作者单位:郑州大学 河南郑州450002
摘    要:Windows是一个基于消息驱动的操作系统,消息作为联系操作系统和应用程序的纽带,它的产生与处理是Windows应用程序设计的核心;MFC是一个封装了大部分WindowsAPI函数的Windows应用程序可视化开发工具,它用一种巧妙的映射机制将消息管理及消息操作封装起来,理解MFC的消息映射机制是利用MFC进行应用程序设计的关键;最后通过自定义消息的处理实例说明了消息映射机制在程序设计中的应用。

关 键 词:消息  消息循环  MFC  消息映射

Message Mapping in MFC and Its Applications in Programming
ZHU Zhan-dong,ZHOU Zhen-hong.Message Mapping in MFC and Its Applications in Programming[J].Digital Community & Smart Home,2006(26).
Authors:ZHU Zhan-dong  ZHOU Zhen-hong
Abstract:Windows is a operating system based on the message drive. As the link between the operation system and application programs, the production and operation of messages is the core of Windows programming. Encapsulated with most Windows API functions, MFC is a visual tool of programming. It encapsulates the management and the operation of messages via message mapping. To catch the mechanism of message mapping is the key of application programming. Finally it damonstrates the applications of message mapping in programming through the operation of user-defined messages.
Keywords:message  message loop  MFC  message mapping  
本文献已被 CNKI 等数据库收录!
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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