Click here to Skip to main content
15,888,461 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have created radiobuttons dynamically. I want to get id of the selected radiobutton after clicking on a button..please help me
Posted
Comments
[no name] 27-Apr-14 17:58pm    
What "id" of what radio button? The name? Resource ID? Tag? Some custom id property? What have you tried? Where are you stuck?

1 solution

BN_CLICKED notification has the id of the button . Or you can use GetDlgCtrlID()
 
Share this answer
 
Comments
Member 10316149 30-Apr-14 1:58am    
PJ can you please add some simple code example

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900