Knowledge Base

BUG: Menu Bar Covered by Main Window Client Area

Article ID: 109539

Article Last Modified on 7/11/2005


APPLIES TO


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.

Additional query words: utoff overlayed view toolbar win16sdk

Keywords: kbbug kbmenu KB109539