XL: Forms 2.0 MouseMove Returns Incorrect X, Y Coordinate Values (307604)



The information in this article applies to:

  • Microsoft Excel 2000
  • Microsoft Excel 2002
  • Microsoft Excel 97 for Windows

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.

Modification Type:MinorLast Reviewed:1/6/2006
Keywords:kbbug kbfix KB307604