473,385 Members | 1,359 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Warning: skipping non-radio button in group

After being frustrated with this issue on several occasions I think I
found the secret sauce for solving the issue after reading a few
different messages about what others thought and trying a combination
of them all.

What worked for me was the following:

1. Put a Break Point in MFC source file DLGDATA.CPP on line 338 which
TRACE0("Warning: skipping non-radio button in group.\n"); (Copyright
Microsoft source code)

2. Start your application and when it stops on the break point look at
the dialog class making the DDX_Radio call.

3. Open the corresponding dialog in the resource editor and make sure
all the controls on the dialog which are not the first radio button in
a group have the 'Group' property turned off.

4. From the menu click Layout->Tab Order (Ctrl+D) and select each
control on the dialog so the tab order is as desired. Make sure you
select the radio button with the group box checked as the first one in
the sequence of that group of radio buttons and all the others
immediately after. For example if you want the radio button group to
be the fourth item in the tab order select the other three control in
the desired order then click the first radio button in the group so it
has the number 4 by it. Then click the other radio buttons in the
group, 5, 6, 7, etc. Continue to select any other controls on the
dialog until you have selected all the ones with the 'Tab stop'
property checked.

5. Now, press Ctrl+D again to see which control is the next one after
your group. In our example it would be 8 if we had four radio buttons
with tab stops of 4, 5, 6 and 7. Press ESC or Ctrl+D again to turn
off the tab stop editing.

6. Select the control which has tab stop number 8 and make sure the
'Group' property is checked. This will indicate that number 7 is the
end of the radio group.

7. Save your changes.

8. Repeat steps 2-7 until the code no longer breaks on the break

You could obviously go through every dialog in your application, but
if you have more than a few you will soon get tired of checking
dialogs which may not have a problem. Best wishes.
Jul 22 '05 #1
1 6870
"Rick" <r2******@hotmail.com> wrote...
After being frustrated with this issue on several occasions I think I
found the secret sauce for [...]

Your issue has nothing to do with C++ language, and everything to do
with programming MS Windows. Please post your solutions where they
belong (comp.os.ms-windows.programmer) and where they are appreciated.
Thank you.
Jul 22 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

by: Chuck Anderson | last post by:
I have a function with 7 inputs. The last three have default values. I want to call that function specifying the first four, skip two and then specify the last. I thought I could write this...
by: qazmlp | last post by:
// Test.C Line-300: namespace Line-301: { Line-302: std::vector<std::string> vecaNS ; Line-303: } The 'SUN Forte 7 C++ Compiler' reports the following warning for the above code:...
by: HP | last post by:
Hi guys i wana remove this warning which i am getting during my codcomilation. the warning is - Possible use of null pointer 'PnoSytGenericTest::_response' in left argument to operator '->'
by: Anitha | last post by:
Hi I observed something while coding the other day: if I declare a character array as char s, and try to use it as any other character array..it works perfectly fine most of the times. It...
by: Bas Wassink | last post by:
Hello there, I'm having trouble understanding a warning produced by 'splint', a code-checker. The warning produced is: keywords.c: (in function keyw_get_string) keywords.c:60:31: Released...
by: Siemel Naran | last post by:
I keep getting warning messages like these: ....\include\myfile.h(451) : warning C4251: 'MyClass::m_myvariable' : class 'CPtrArray' needs to have dll-interface to be used by clients of class...
by: Rich Sienkiewicz | last post by:
The C# compiler gives warnings about unused variables. I thin it needs a warning about an unassigned reference. For instance, this compiles without any warnings/errors, but of course blows up when...
by: kellyatdentrix | last post by:
Suppose that I just want to count the elements in a collection, so I do this: int i = 0; foreach (MyElement el in MyCollection) { i++; } return i;
by: davidratz | last post by:
I run Access 2000. We still have Access 97 resident on our server. We run all of this inside of a Citrix environment. I have a macro which runs a dozen or so queries and macros. At the end of the...
by: Heinrich Pumpernickel | last post by:
what does this warning mean ? #include <stdio.h> int main() { long l = 100; printf("l is %li\n", l * 10L);
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.