Solved

Visual C++ Sample Source - 2

Posted on 1997-11-12
2
244 Views
Last Modified: 2009-12-16
If you want to answer this Question, pls check a old question with title "Visual C++ Sample Source" which is also submitted by (me)matchz.
0
Comment
Question by:matchz
[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 1

Accepted Solution

by:
kburns102197 earned 50 total points
ID: 1173100
matchz,
To get your radio buttons to work properly, you must pay attention to the "group" checkbox (under general) in the properties dialog for the particular radio button. The radio  buttons will default to a single group if the group checkbox is not checked for any  radio buttons so they will toggle on or off  they way you would expect.

 At this point, I need to tell you about the test switch to test your dialog without compiling. The "test" switch (looks like a little light switch - click it with your mouse or press Ctrl-T) -play around with it to see if your dialog box is operating the way you want.

Now to get your radio buttons to work properply make sure the group field is checked for the 1st button you added to the dialog.  Now uncheck all of the next buttons you added that you want to "group" together.  So if you haved added Radio1,2,3,4,5,6 and want 1,2,3  and 4,5,6 grouped together Check 1, Uncheck 2, Uncheck 3, - New group so Check 4, Uncheck 5, Uncheck6
The group stays in effect until it sees a new group. The trick to grouping  is ORDER in which the radio buttons were added to your dialog.  There are ways around this limitation but for but now it should work....kburns
0
 

Author Comment

by:matchz
ID: 1173101
I have a type a new Question with title
"Visual C++ Sample Source -3"
I think it is also rather easy. Would you mind to give me some suggestions.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

756 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