BUG: Menu Bar Covered by Main Window Client Area

ID: Q109539

The information in this article applies to:

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 you use the following menus 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.

Additional query words: utoff overlayed view toolbar

Keywords          : kbMenu kbNTOS310 kbNTOS350 kbNTOS351bug kbGrpUser kbWinOS310bug 
Issue type        : kbbug

Last Reviewed: December 26, 1998