在Visual C++中任意多个控件的创建  被引量:3

Creation of any number of controls in Visual C++ environment

在线阅读下载全文

作  者:闵艳[1] 周树杰[1] 张世博[1] 

机构地区:[1]北京石油化工学院信息工程学院,北京102617

出  处:《计算机工程与设计》2003年第8期55-57,共3页Computer Engineering and Design

摘  要:以在VisualC++中利用MFC机制创建任意个按钮为例,说明了在VisualC++实现任意个控件的创建。介绍在MFC机制下将多个同类控件的消息映射到同一处理函数的方法以及该机制下的消息映射过程,通过对MFC机制下的消息映射过程的分析,实现了任意多个按钮的消息处理。This article mainly describes how to create any number of controls by creating any number of buttons with MFC in Visual C++ environment. It covers how MFC maps control-notification messages for a range of control IDs to a single handler and the process of message mapping of MFC. By the analysis of message mapping of MFC, it implements the message process of any number of buttons.

关 键 词:VISUALC++ 控件 消息映射 数据库 MFC 程序界面 

分 类 号:TP311.13[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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