Microsoft KB Archive/307604

= XL: Forms 2.0 MouseMove Returns Incorrect X, Y Coordinate Values =

Article ID: 307604

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Excel 2000 Standard Edition
 * Microsoft Excel 2002 Standard Edition
 * Microsoft Excel 97 Standard Edition

-



This article was previously published under Q307604



SYMPTOMS
When you resize the Excel program window to be smaller than the borders of a Microsoft Forms 2.0 control, the X and Y coordinates returned by the control's MouseMove event change. However, the X and Y values are supposed to remain constant, regardless of the window size.

This problem also occurs if you zoom the worksheet until the control is larger than the program window.



CAUSE
The problem occurs because Excel uses the windowless feature of the Microsoft Forms 2.0 controls. These controls are inconsistent with how they use the bounding rectangle that they receive through DoVerb and OnInactiveMouseMove or OnInactiveSetCursor.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Additional query words: XL2002 XL2000 XL97

Keywords: kbbug kbfix KB307604

-

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

© Microsoft Corporation. All rights reserved.