更改按钮背景图片 [英] Change button background image
本文介绍了更改按钮背景图片的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨
如何在MFC中更改按钮的背景?
谢谢
Hi
How can I change background of a button in mfc?
Thank you
推荐答案
在CP上有关于此的数字文章.
这里有一些-
CImageButtonWithStyle-使用具有XP视觉样式的图像的按钮 [ XGlyphButton-简单的图像按钮控件 [更好的位图按钮类 [ CImageTextButton [
There are numerals articles on this here on CP.
Here are a few of them -
CImageButtonWithStyle - Buttons using Images with XP Visual Styles[^]
XGlyphButton - a simple image button control[^]
A Better Bitmap Button Class[^]
CImageTextButton[^]
也请在这里看看
http://www.ucancode.net/faq/Visual-C-Example- Bitmap-Button-CButton.htm [ ^ ]
also take a look here
http://www.ucancode.net/faq/Visual-C-Example-Bitmap-Button-CButton.htm[^]
这篇关于更改按钮背景图片的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文