Link to home
Start Free TrialLog in
Avatar of IssacJones
IssacJones

asked on

Adding a radio button

Hiya

I have an MFC application which has numerous controls and radio buttons. When I add a new radio button, to a group of existing radio buttons, I have to use Ctrl+D to go through all the controls to ensure that the new button follows the previous ones in the group. THIS IS A PAIN!!!

Is there an easier way to do this? I can imagine an scenario where somebody has 50+ controls which they would have to go through just to add an extra radio button. Surely there is an easier way to do it?

John
ASKER CERTIFIED SOLUTION
Avatar of AndyAinscow
AndyAinscow
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Alternative - modify the .rc file in notepad - the tab order is the order the controls appear in the dialog resource.
Avatar of IssacJones
IssacJones

ASKER

Wow - excellent! Thanks