FIX: Can't Have Menu with No Caption Bar/Buttons/Control BoxLast reviewed: October 30, 1997Article ID: Q76553 |
1.00 2.00
WINDOWS
kbenv kbbuglist
The information in this article applies to: - Standard and Professional Editions of Microsoft Visual Basic for Windows, version 2.0- Microsoft Visual Basic programming system for Windows, version 1.0
SYMPTOMSYou can't add a menu that has no caption, no maximize/minimize buttons, and no control-menu box to a form.
CAUSEThis feature is not supported in Visual Basic in Windows version 3.0 or 3.1 because of a bug in the Microsoft Windows menu driver that prevents Windows from painting menus correctly.
STATUSMicrosoft has confirmed this to be a bug in Microsoft Windows versions 3.0 and 3.1. This problem does not occur in Visual Basic version 3.0 in Microsoft Windows version 3.1.
MORE INFORMATIONIf you place a menu on a form with no caption bar or associated buttons, the result is a menu bar that does not refresh correctly.
Steps to Reproduce Problem
If you place any other form over the menu bar and then remove it, the portion that was covering the menu bar area remains. This problem occurs because the Microsoft Windows menu driver does not paint the menus correctly. For this reason, this particular form configuration is not supported by Visual Basic at this time even though you are able to create the configuration in the editing environment. For more information about a related problem with the menu bar and the Fixed Double border style, query on the following words in the Microsoft Knowledge Base:
Visual and Basic and menu and fixed and double and border |
Additional reference words: buglist2.00 fixlist3.00 1.00 2.00
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |