c++ - Get the index of the selected radio buttons -
i have 4 radio buttons on dialog , under 1 group.
in order group them have set group option true first radio button , false rest of them.
i have given tab order accordingly.
as grouped them together, can create 1 member variable entire group lets m_radiogroup.
i have "ok" button on dialog. on click of ok button wanted know radio button selected out of 4 of them.
how achieve this?
you can't use 1 variable 4 item.
every item should have own variable. witch switch-case or else find radio button selected.
Comments
Post a Comment