Microsoft KB Archive/109539

From BetaArchive Wiki

BUG: Menu Bar Covered by Main Window Client Area

Q109539



The information in this article applies to:


  • Microsoft Win32 Software Development Kit (SDK), on platform(s):
    • the operating system: Microsoft Windows NT, versions 3.5, 3.51
  • Microsoft Windows Software Development Kit (SDK) 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 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 : kbMenu kbOSWinNT310 kbOSWinNT350 kbOSWinNT351bug kbGrpDSUser kbOSWin310bug
Issue type : kbbug
Technology : kbWin32SDKSearch kbAudDeveloper kbSDKSearch kbWin32sSearch


Last Reviewed: October 27, 2000
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.