Selecting a Menu Suspends All User Events

ID: Q94791


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0


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.


MORE INFORMATION

Steps to Reproduce Problem

  1. Start VBDOS.EXE.


  2. From the File menu, choose New Form.


  3. Place a Timer control on the new form.


  4. Set the Interval property of the Timer control equal to 500 (half a second).


  5. From the Window menu in FD.EXE, choose Menu Design Window.


  6. Add a top-level menu. Set Caption to test and CtrlName to test.


  7. Close the Menu Design window.


  8. From the File menu, choose Exit, and save all changes.


  9. Add the following code to the Timer1_Timer event procedure of Form1:
    
          Sub Timer1_Timer
             Beep
          End Sub 


  10. Run the application, and wait for a beep.


  11. 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.


Additional query words: VBmsdos buglist1.00 1.00

Keywords :
Version : MS-DOS:1.0
Platform : MS-DOS
Issue type :


Last Reviewed: December 10, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.