Microsoft KB Archive/162731

= FIX: Class Wizard Displays Incorrect Control IDs =

Article ID: 162731

Article Last Modified on 12/8/2003

-

APPLIES TO

 The ClassWizard, when used with:  Microsoft Visual C++ 4.0 Standard Edition

 Microsoft Visual C++ 4.1 Subscription

 Microsoft Visual C++ 4.2 Enterprise Edition

 Microsoft Visual C++ 4.2 Professional Edition</li></ul> </li></ul>

-

<div class="notice_section">

This article was previously published under Q162731

<div class="symptoms_section">

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.

<div class="status_section">

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

<div class="moreinformation_section">

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

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.