Solved

Visual C++ Sample Source - 2

Posted on 1997-11-12
2
236 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
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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

832 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