Solved

Grouping Radio Buttons

Posted on 2004-09-11
2
287 Views
Last Modified: 2013-11-20
I have a really easy question here:

In an MFC, how do I group radio buttons?
So that when clicking a radio button from one group it doesn't de-select the others in the other groups on the same dialog?

Thanks
0
Comment
Question by:chadz001
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 30 total points
ID: 12034028
Control group is number of controls, with first control selected as Group, and all other are not selected. Controls order is Tab order (see Layout menu, Tab order).
If you have number of radio buttons which should work as one group, ensure that they have consequent positions in the dialog tab order, select Group in first of them and unselect Group in all others.
0
 

Author Comment

by:chadz001
ID: 12034867
Thanks.
0

Featured Post

Ready to get started with anonymous questions?

It's easy! Check out this step-by-step guide for asking an anonymous question on Experts Exchange.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here is how to use MFC's automatic Radio Button handling in your dialog boxes and forms.  Beginner programmers usually start with a OnClick handler for each radio button and that's just not the right way to go.  MFC has a very cool system for handli…
Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question