PRB: ClassWizard Doesn't Display Ungrouped Radio Button (192622)



The information in this article applies to:

  • The ClassWizard, when used with:
    • Microsoft Visual C++, 32-bit Editions 2.0
    • Microsoft Visual C++, 32-bit Editions 2.1
    • Microsoft Visual C++, 32-bit Editions 2.2
    • Microsoft Visual C++, 32-bit Editions 4.0
    • Microsoft Visual C++, 32-bit Editions 4.0a
    • Microsoft Visual C++, 32-bit Editions 4.1
    • Microsoft Visual C++, 32-bit Editions 4.2b
    • Microsoft Visual C++, 32-bit Enterprise Edition 4.2
    • Microsoft Visual C++, 32-bit Professional Edition 4.2
    • Microsoft Visual C++, 32-bit Enterprise Edition 5.0
    • Microsoft Visual C++, 32-bit Professional Edition 5.0
    • Microsoft Visual C++, 32-bit Enterprise Edition 6.0
    • Microsoft Visual C++, 32-bit Professional Edition 6.0
    • Microsoft Visual C++, 32-bit Learning Edition 6.0

This article was previously published under Q192622

SYMPTOMS

When one or more new radio button controls are placed on a dialog box, they do not appear in the Control ID's list box on the ClassWizard Member Variables tab. This gives the user the impression that a member variable cannot be associated with the control.

RESOLUTION

A workaround to this problem is to add the Group property to the first radio button created by using the following steps:

  1. In the Dialog Editor, right-click a radio button, and then click Properties.
  2. From the General tab of the Radio Button Properties dialog box, select the Group check box.

STATUS

Microsoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

REFERENCES

For information regarding ClassWizard, see "Using ClassWizard" in the MSDN index.

For information regarding the Dialog Editor, see "Using the Dialog Editor to Add Controls" in the MSDN index.

For information regarding Radio Buttons, see "Buttons Overview" in the MSDN index.

Modification Type:MajorLast Reviewed:12/10/2003
Keywords:kbide kbprb kbwizard KB192622