PRB: Class Wizard Displays Incorrect Control IDs

Last reviewed: August 7, 1997
Article ID: Q162731
The information in this article applies to:
  • The ClassWizard included with: - Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1, 4.2

SYMPTOMS

When you open a dialog template in the Resource Editor, start Class Wizard, 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 behavior is by design.

MORE INFORMATION

If you open Class Wizard 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          : WizardIss kbtool kbtool
Version           : 4.0 4.1 4.2
Platform          : NT WINDOWS
Issue type        : kbprb


================================================================================


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: August 7, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.