Right Mouse Button Causes Remote Control Menus in Visual Basic

ID Number: Q78773

1.00

WINDOWS

buglist1.00

Summary:

The mouse behaves unexpectedly under the following conditions:

1. A Visual Basic program is run from the environment (VB.EXE) or an

executable using the run-time module.

2. The program has a form that contains menus.

3. While holding a menu open with the left button, if you click the

right mouse button, the mouse selection appears to be inactivated.

4. Moving up or down the menu while maintaining the left button in the

down position causes no selection until you get several inches

below the pop-up (or pull-down) menu.

5. At that point, the mouse causes selection again from the remote

position.

Microsoft has confirmed this to be a problem with Visual Basic

programming system version 1.0 for Windows. We are researching this

problem and will post new information here as it becomes available.

More Information:

This problem occurs when running a Visual Basic program that has

menus. It requires a mouse with two buttons and has been reported with

both Microsoft and Logitech mice.

Steps to Reproduce Problem

--------------------------

1. Run the Cardfile program that comes with Visual Basic in the

Samples subdirectory.

2. Put the mouse cursor on one of the menu labels and press the left

mouse button to activate it.

3. While continuing to hold down the left button, move the cursor to a

menu item within the pop-up menu; this will highlight the menu

item.

4. While holding the left button down, click the right button once.

The menu item should no longer be highlighted.

5. Move the mouse from the item you were selecting. Observe that the

mouse no longer activates submenus, and the menu does not retract.

6. Continue to move the mouse down from the menu. At some point, the

highlighting of the submenu items will be activated again.

7. Upon stopping on a submenu item and releasing the left button, that

menu command will execute.

Note: This behavior also occurs if you open a menu and, while holding

down the left button, you click the right button anywhere on the

screen.

Additional reference words: 1.00