带图像的MFC菜单按钮 [英] MFC Menu Button with Image

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

问题描述

我想在MFC菜单按钮上显示图像。请告诉我是否有可能。

I want to show an image on the MFC Menu button. Please let me know whether it is possible.

推荐答案

什么是CBitmapButton?



如果你想要一个完整的位图按钮,你必须老板画它。



只是google它;代码项目中有很多例子。
What abou a CBitmapButton ?

If you want a full bitmap button you will have to "owner draw" it.

Just google it; there are tons of examples here on code project.


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

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