BUG: Moving Controls on a Form Triggers Form_MouseMove Event (231689)
The information in this article applies to:
- Microsoft Visual Basic Learning Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
This article was previously published under Q231689 SYMPTOMS
When you move controls on a form and the cursor is over the form, the form's MouseMove event gets triggered even if the cursor is not moving.
RESOLUTION
In this scenario, if you need to place code in the form's MouseMove event and want to be sure it runs only when the mouse is actually moving, you will need to set a flag before moving any control on the form. Check the flag in the MouseMove event before executing any code.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.
Modification Type: | Major | Last Reviewed: | 5/13/2003 |
---|
Keywords: | kbActivexEvents kbBug kbpending KB231689 |
---|
|