文件名称:CToolBar
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:12.28kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
向对话框类中添加工具栏
在文档/视图结构中,添加工具栏是非常方便的,但在基于对话框的应用程序中,就稍稍复杂一点了。通常情况下,向对话框中添加工具栏有两种方法。
第一种方法:
特点:
① 使用CToolBar类,可以装载工具栏资源。
② 代码编写简单方便。
第二种方法:
特点:
① 使用CToolBarCtrl类,必须与CImageList类联合使用。
② 可以支持真彩色(32位)图标。
-Add a toolbar to the dialog class in the document/view architecture is very convenient to add the toolbar, dialog-based application, it is a little more complicated a little. Under normal circumstances, there are two ways to add a toolbar to the dialog box. The first method: Features: 鈶� CToolBar class, you can load the toolbar resource. The 鈶� coding simple and convenient. The second method: features: 鈶� CToolBarCtrl class must be used in conjunction with the CImageList class. (2) can support True Color (32) icon.
在文档/视图结构中,添加工具栏是非常方便的,但在基于对话框的应用程序中,就稍稍复杂一点了。通常情况下,向对话框中添加工具栏有两种方法。
第一种方法:
特点:
① 使用CToolBar类,可以装载工具栏资源。
② 代码编写简单方便。
第二种方法:
特点:
① 使用CToolBarCtrl类,必须与CImageList类联合使用。
② 可以支持真彩色(32位)图标。
-Add a toolbar to the dialog class in the document/view architecture is very convenient to add the toolbar, dialog-based application, it is a little more complicated a little. Under normal circumstances, there are two ways to add a toolbar to the dialog box. The first method: Features: 鈶� CToolBar class, you can load the toolbar resource. The 鈶� coding simple and convenient. The second method: features: 鈶� CToolBarCtrl class must be used in conjunction with the CImageList class. (2) can support True Color (32) icon.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
CToolBar.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.