Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 307604 - Last Review: January 31, 2007 - Revision: 2.2
XL: Forms 2.0 MouseMove Returns Incorrect X, Y Coordinate Values
This article was previously published under Q307604
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.
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.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.
APPLIES TO
- Microsoft Excel 2000 Standard Edition
- Microsoft Excel 2002 Standard Edition
- Microsoft Excel 97 Standard Edition
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate