BUG: Menu Bar Covered By Main Window Client Area

Last reviewed: November 2, 1995
Article ID: Q109539
The information in this article applies to:
  • Microsoft Windows Software Development Kit (SDK) for Windows version 3.1
  • Microsoft Win32 SDK, version 3.1

SYMPTOMS

In an application, the lower half of the menu bar is covered by the client area of the main window.

CAUSE

This problem can be caused by a command with a null menu string or separator at the end of the menu bar. For example, if the following menus are used in a window, they will display the problem:

   PROBLEMMENU MENU DISCARDABLE
   BEGIN
      POPUP "&Popup 1"
         BEGIN
            MENUITEM "&Menu Item 1", 1
         END
      MENUITEM "", 2
   END

-or-

   PROBLEMMENU MENU DISCARDABLE
   BEGIN
      POPUP "&Popup 1"
         BEGIN
            MENUITEM "&Menu Item 1", 1
         END
      MENUITEM SEPARATOR
   END

RESOLUTION

To work around this problem, remove the command with a null menu string or separator at the end of the menu bar.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.


Additional reference words: utoff overlayed view toolbar
KBCategory: kbui kbbuglist
KBSubcategory: UsrMen


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: November 2, 1995
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.