如何获取已检查的动态单选按钮的ID [英] How do I get the id of the checked dynamic radiobutton

查看:69
本文介绍了如何获取已检查的动态单选按钮的ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经动态创建了单选按钮.我想在单击按钮后获取所选单选按钮的ID.请帮助我

I have created radiobuttons dynamically. I want to get id of the selected radiobutton after clicking on a button..please help me

推荐答案

BN_CLICKED通知具有按钮的ID.或者您可以使用GetDlgCtrlID()
BN_CLICKED notification has the id of the button . Or you can use GetDlgCtrlID()


这篇关于如何获取已检查的动态单选按钮的ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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