-
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 menu in the toolbar.
- 2022-08-18 03:03:00下载
- 积分:1
-
在工具条上使用类似IE的带文字的扁平按钮
在工具条上使用类似IE的带文字的扁平按钮-Using flat button with text on toolbar as IE
- 2022-07-02 02:21:17下载
- 积分:1
-
这个程序演示了如何利用工具栏的新特性,在工具栏中的某个按钮加入下拉式的列表。(28KB)...
这个程序演示了如何利用工具栏的新特性,在工具栏中的某个按钮加入下拉式的列表。(28KB)-this procedure by demonstrating how to use the tool bar of the new features in a toolbar button to join the drop-down list. (28KB)
- 2022-03-15 22:03:33下载
- 积分:1
-
VB Toolbar Programming category code: special style form the left column, with s...
VB工具条编程类代码:特殊风格的窗体左栏,带源码和演示.-VB Toolbar Programming category code: special style form the left column, with source and demo.
- 2022-11-29 18:55:03下载
- 积分:1
-
这个程序演示了工具栏对话框
This program demonstrates the tool bar dialog
- 2022-03-12 16:01:37下载
- 积分:1
-
好看的木头界面的MDI应用程序,用来对MDI程序的界面进行优化。...
好看的木头界面的MDI应用程序,用来对MDI程序的界面进行优化。-Good-looking wood MDI interface applications, MDI procedure used to optimize the interface.
- 2022-02-09 17:53:06下载
- 积分:1
-
the sake of simplicity, can be defined a n* n template array. In addition, the n...
为了简便编程工作,可以定义一个n*n的模板数组。另外,读者需要注意一点,在用窗口扫描图像过程中,对于图像的四个边-the sake of simplicity, can be defined a n* n template array. In addition, the needs of the readers attention to the fact that the window with the process of scanning images for the four images side
- 2022-07-07 06:32:08下载
- 积分:1
-
Ever since Windows 95 first came out, I have noticed that just about every devel
Ever since Windows 95 first came out, I have noticed that just about every developer was scambling to get all the new common controls and UI features into their applications... but it seems like nobody has yet to make a taskbar-like control. So I set out to make one. 甚至从Windows95首先出现至今,我注意到几乎每个开发者都试图在他们的应用中使用所有的新的通用控件和UI功能。但是好像还没有人创建出一个像任务条一样的控件。于是我决定创建一个。 来源: http://www.codeguru.com/advancedui/Switcher.shtml-Ever since Windows 95 first came out, I have noticed that just
about every developer was scambling to get all the new common controls
and UI features into their applications... but it seems like nobody
has yet to make a taskbar-like control. So I set out to make one. even
first appears from Windows95 until now, I note nearly each development
all to attempt in theirs application to use all am new general control
and the UI function. But looks like also nobody to found same to
control like the duty strip. Thereupon I decided founds. Origin:
Http://www.codeguru.com/advancedui
- 2022-12-16 17:15:03下载
- 积分:1
-
这个程序可以说是对滚动条功能实现比较全面的编成,里面包括了对滚动条的初始化,左右箭头的操作及空白地方的操作...
这个程序可以说是对滚动条功能实现比较全面的编成,里面包括了对滚动条的初始化,左右箭头的操作及空白地方的操作-this procedure can be said to be rolling to achieve more comprehensive function of the organization, including the inside of the rolling of the initialization, arrows around the operation and the operation gap
- 2022-01-25 15:15:25下载
- 积分:1