-
MFC打造个性化菜单栏
应用背景
本例程使用的是微软MFC6.0开发工具,主要针对MFC生成的工具栏图标太小形式单一的缺点,从而打造属于自己的个性化软件工具栏,工具栏的程序代码对工具栏的修改提供了广阔的修改空间.满足不同审美需求.
本代码是本人花了很多时间才摸索出来的,经过实际测试可用,网上独一无二.
关键技术
1.通过MFC生成单文档程序.
2.双击CMainFram类,在右边显示的protected成员里定义两个CToolBar和 CImageList 对象.
3.在Rescourceview视图里的ICON插入8个ico图标.
4.在CMainFram类里打开onCreate函数里将系统生成的工具栏代码注释起来,并添加代码产生自己的个性化工具栏.
- 2022-08-13 14:31:52下载
- 积分:1
-
Add a toolbar program (
添加工具栏程序(――取消目录及其所包含子目录和文件的“只读”属性。否则,打开vc项目时由于无法进行文件的“写”操作,会导致提示出错信息。)-Add a toolbar program (- the abolition of the directory and its subdirectories and files contained in the
- 2022-07-04 14:45:34下载
- 积分:1
-
在工具条上使用类似VC6打开文件一样的DropDown选择按钮
在工具条上使用类似VC6打开文件一样的DropDown选择按钮-The toolbar which has dropdown style button as VC6
- 2022-02-01 16:46:27下载
- 积分:1
-
新的C++ Builder和# 39;的绘图功能,这是变换颜色,日…
一款用C++ Builder实现的画图功能,其中有颜色的变换,更多的由你来评论吧-new C Builder"s drawing functions, which are the color of transformation, the more you comment on it
- 2022-07-21 10:56:39下载
- 积分:1
-
color toolbar category, the beautiful design of tools to True Color
真彩工具栏类,可以设计出漂亮的真彩工具条来-color toolbar category, the beautiful design of tools to True Color
- 2022-02-03 08:50:54下载
- 积分:1
-
统计的直方图vb程序
统计的直方图vb程序-statistical procedures histogram vb
- 2022-02-13 16:15:50下载
- 积分:1
-
VC带动画的状态条源码
VC带动画的状态条源码-VC animation with the state of the source
- 2022-08-26 07:26:52下载
- 积分:1
-
how the toolbar shows 16 true color bitmap. Rar
如何在工具栏中显示16位真彩色位图.rar-how the toolbar shows 16 true color bitmap. Rar
- 2022-07-19 01:40:15下载
- 积分:1
-
一个可以添加背景图片的工具栏源程序。阿飞
一个可以添加背景图片的工具栏源程序。阿飞-You can add a background image toolbar source.
- 2022-02-12 06:00:18下载
- 积分:1
-
ADC0809实验对电压测试,电压范围0~5V,试验成功,可以直接运用...
ADC0809实验对电压测试,电压范围0~5V,试验成功,可以直接运用-ADC0809 experimental test for voltage, voltage range of 0 to 5V, the pilot is successful, can directly use
- 2022-02-21 12:32:10下载
- 积分:1