如何在MFC中使用复选框? [英] How to use checkbox in MFC?
本文介绍了如何在MFC中使用复选框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
hi
我在这个网站和其他网站上搜索过这个,但没找到。
你可以帮我使用复选框吗?
我如何在mfc中使用复选框?
例如:如果使用按钮1选择了checkbox1,则显示checkbox1 selected,如果选中checkbox2则显示checkbox2 selected
提前谢谢
hi
I search about this in this site and an others,but didn't find.
could you please help me to use checkbox?
how can I use checkbox in mfc?
for example:if checkbox1 was selected with pushing button1 , show "checkbox1 selected" and if checkbox2 was checked show "checkbox2 selected"
thanks in advance
推荐答案
你只需要使用 GetCheck
[ ^ ]功能,用于检索当前设置。
You just need to use the GetCheck
[^] function, to retrieve the current setting.
这篇关于如何在MFC中使用复选框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文