Knowledge Base

FIX: Class Wizard Displays Incorrect Control IDs

Article ID: 162731

Article Last Modified on 12/8/2003


APPLIES TO


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.

Keywords: kbbug kbfix kbwizard KB162731