FIX: Class Wizard Displays Incorrect Control IDs (162731)



The information in this article applies to:

  • The ClassWizard, when used with:
    • Microsoft Visual C++, 32-bit Editions 4.0
    • Microsoft Visual C++, 32-bit Editions 4.1
    • Microsoft Visual C++, 32-bit Enterprise Edition 4.2
    • Microsoft Visual C++, 32-bit Professional Edition 4.2

This article was previously published under Q162731

SYMPTOMS

When you open a dialog template in the Resource Editor, start ClassWizard, and switch to a different dialog or form view based class using the "Class name" combo box in the "Message Maps" page, the "Object IDs" list box displays IDs for controls present on the dialog template along with the controls on the template associated with the selected class. This is incorrect.

STATUS

This problem was corrected in Microsoft Visual C++, version 5.0.

MORE INFORMATION

If you open ClassWizard while the Resource Editor is not active, incorrect ID values are not displayed. Note that the incorrect values appear only in the "Message Maps" page, and not in the "Member Variables" page.

If message map entries are added for these incorrect Ids, they will never be called and will not cause the program to fail in any other way.

Modification Type:MajorLast Reviewed:12/8/2003
Keywords:kbbug kbfix kbfix kbwizard KB162731