I'm just beginning programming in windows, and I added radio buttons to my dialog box and I can't get them to work. Which function should I use to say "If this radio button is activated, do this."? I looked in MSDN, and I tried using BN_CLICKED but I can't get it to work, and when I tried to use switch(wCommand){
case IDC_RADIO1: function();
break;
}
The program does function() the moment the user clicks on the radio button, instead of waiting until the user presses ok.
I'd appreciate any help if you have suggestions,
Thanks in advance,
Ron
P.S. Thank you Sunlight for your wonderful tutorial, it really helped me alot getting started!