BUG: Menu Bar Covered by Main Window Client Area (109539)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0, when used with:
    • the operating system: Microsoft Windows NT 3.5
    • the operating system: Microsoft Windows NT 3.51
  • Microsoft Windows Software Development Kit (SDK) 3.1

This article was previously published under Q109539

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 "", 2
   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.

Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbBug kbMenu KB109539