FIX: ID_APP_EXIT Used for a Button Will Exit App Studio

Last reviewed: September 18, 1997
Article ID: Q108588
1.00 1.50 1.51 1.52 | 1.00
WINDOWS             | WINDOWS NT
kbtool kbfixlist kbbuglist

The information in this article applies to:

  • The App Studio, included with:

        - Microsoft Visual C++ for Windows, versions 1.0, 1.5, 1.51, and 1.52
        - Microsoft Visual C++, 32-bit Edition, version 1.0
    

SYMPTOMS

If ID_APP_EXIT is used as the resource identifier for a button control in a dialog box, it will exit App Studio when the dialog box is tested. In App Studio for Windows NT, if the dialog box is tested, it will exit and cause an application exception in App Studio.

Some other resource identifiers that may cause side effects while being tested inside App Studio are:

   ID_WINDOW_NEW
   ID_WINDOW_CASCADE
   ID_WINDOW_TILE_HORZ
   ID_WINDOW_TILE_VERT
   ID_HELP_INDEX

STATUS

Microsoft has confirmed this to be a problem in the products listed at the beginning of this article.

This problem was corrected in Visual C++ version 2.0, which includes MFC version 3.0. However, the problem still exists in the 16-bit product line.

MORE INFORMATION

Steps to reproduce the problem:

  1. Open App Studio.
2. Open an existing .RC file (use any of Scribble's resource scripts). 3. Open the About dialog box. 4. Add a button. 5. Change the button's ID to ID_APP_EXIT. 6. Test the dialog box and choose the new button.


Additional reference words: 1.00 1.10 1.50
KBCategory: kbtool kbfixlist kbbuglist
KBSubcategory: AppStudioIss
Keywords : AppStudioIss kbbuglist kbfixlist kbtool
Version : 1.00 1.50 1.51 1.52 | 1.00
Platform : NT WINDOWS
Solution Type : kbfix


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: September 18, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.