Microsoft KB Archive/94791

= Selecting a Menu Suspends All User Events =

PSS ID Number: 94791

Article Last Modified on 1/8/2003

-

The information in this article applies to:


 * Microsoft Visual Basic for MS-DOS 1.0

-



This article was previously published under Q94791



SYMPTOMS
In a running program, when you select a menu by pressing the ALT key or by selecting the menu with the mouse, all user events are suspended until the menu is deselected. This behavior differs from versions 1.0 and 2.0 of Microsoft Visual Basic for Windows.



STATUS
Microsoft has confirmed this to be a bug in both the Standard and Professional Editions of Microsoft Visual Basic version 1.0 for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.



Steps to Reproduce Problem
 Start VBDOS.EXE. From the File menu, choose New Form. Place a Timer control on the new form. Set the Interval property of the Timer control equal to 500 (half a second). From the Window menu in FD.EXE, choose Menu Design Window. Add a top-level menu. Set Caption to test and CtrlName to test.</li> Close the Menu Design window.</li> From the File menu, choose Exit, and save all changes.</li>  Add the following code to the Timer1_Timer event procedure of Form1: Sub Timer1_Timer Beep End Sub </li> Run the application, and wait for a beep.</li> Press the ALT key to select the top-level menu (test). The program stops beeping as soon as the ALT key is pressed, suspending all events. As soon as the ALT key is pressed again the program resumes.</li></ol>

Additional query words: VBmsdos buglist1.00 1.00

Keywords: KB94791

Technology: kbAudDeveloper kbVB100DOS kbVBSearch kbZNotKeyword3

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© 2004 Microsoft Corporation. All rights reserved.