如何将单选按钮的背面颜色更改为对话框颜色 [英] How Change the back color of Radio Button as dialog color
本文介绍了如何将单选按钮的背面颜色更改为对话框颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何更改VC ++ MFC中单选按钮控件的背景颜色,与对话框颜色相同。请帮助...
来自
Debarun >
email-xxx@rediffmail.com
[更新]如何?请给出一些伪代码请...
解决方案
只需通过CButton
对象继承您的按钮,
对WM_ERASEBKGND
消息做出反应
然后填写按钮的区域:)
How can I change the back color of a radio button control in VC++ MFC,same as dialog color.please help...
from
Debarun
email-xxx@rediffmail.com
[Update] How ? Please give some pseudo code please please...
解决方案
Just subclass your button by anCButton
object,
to react to theWM_ERASEBKGND
message
and then to fill the button''s area out :)
这篇关于如何将单选按钮的背面颜色更改为对话框颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文