I am creating MFC Dialog based application.
I have three radio buttons in a dialog using VS2008. I have tried the following code and it always returns 0 even though the first radio button is checked while I Have set Group(WS_Group) property true for all buttons. What am I doing wrong?
int CtrlID = GetCheckedRadioButton(IDC_RADIO_1, IDC_RADIO_3);