MFC菜单栏底纹 [英] MFC menu bar shading

查看:77
本文介绍了MFC菜单栏底纹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用XP样式的MFC应用程序-我认为它使用了此样式,因为我使用的是unicode,我没有对清单文件做任何事情.

下拉菜单选项,例如在文件"下,左侧有一个阴影栏.此阴影列并不总是在某些菜单选项旁边被着色-有时只是一种统一的颜色(这是阴影位上最暗的阴影的颜色).

菜单项旁边的列是带阴影的还是统一的颜色似乎并不取决于是否启用了菜单项.我看不到为什么有些项目带有阴影栏,而有些却没有.

有什么想法吗?
非常感谢

I have an MFC app which uses the XP style - I think it uses this because I am using unicode, I havn''t done anything with the manifest file.

The drop-down menu options e.g. under File etc have a shaded column at the left. This shaded column is not always shaded next to some menu options - it is sometimes just a uniform colour (which is the colour of the darkest shade on the shaded bits).

Whether the column is shaded or uniform in colour next to menu items does not seem to be dependent on whether or not the menu item is enabled. I can''t see why some items have the shaded column and some do not.

Any ideas please?
Many thanks

推荐答案

我认为这是应该显示命令位图的区域.

位图应与工具栏中显示的位图相同.
Me think it''s the area where bitmaps for the commands should be displayed.

The bitmaps should be the same one as the one displayed in the toolbars.


这篇关于MFC菜单栏底纹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆