FIX: SendKeys Causes Erratic Mouse Behavior on IBM PS/2 (79603)



The information in this article applies to:

  • Microsoft Visual Basic Standard Edition for Windows 2.0
  • Microsoft Visual Basic Standard Edition for Windows 3.0
  • Microsoft Visual Basic Professional Edition for Windows 2.0
  • Microsoft Visual Basic Professional Edition for Windows 3.0
  • Microsoft Visual Basic Standard Edition for Windows 1.0
  • Microsoft Windows 3.0

This article was previously published under Q79603

SYMPTOMS

When a Visual Basic program executes the SendKeys statement on an IBM PS/2 computer, Windows behaves erratically when you move the mouse until it is shut down.

CAUSE

The erratic behavior is caused by continuous phantom mouse clicks and mouse movements.

STATUS

Microsoft has confirmed this to be a bug in Microsoft Windows version 3.0. This bug was corrected in Microsoft Windows version 3.1.

MORE INFORMATION

If you are running Microsoft Windows 3.0 on a PS/2 computer and you press the NUM LOCK key while moving the mouse, the mouse events become erratic. The Visual Basic SendKeys statement affects the NUM LOCK key, so this problem results -- just as if NUM LOCK were pressed.

When you move the mouse, phantom Click events result in symptoms such as applications unexpectedly launching, or the mouse pointer jumping around the screen.

This problem has been reported to happen on the IBM PS/2 Model 50, Model 50z, Model 60, and Model 80.

Modification Type:MajorLast Reviewed:12/12/2003
Keywords:kbbug kbfix KB79603