George,
The only issue with the code that I know of is if the mouse is not inside a VFP window then the doevents can't be sped up. The mouse doesn't ever have to actually move. And I certainly didn't want to pull the mouse out of another app into the VFP app (which was happening before I added the mrow and mcol tests *s*). I figured that if the user was working in another app it doesn't matter to them at the time how long the doevents inside VFP takes.
If you have a different take on a problem with it I'd appreciate the feedback.
>The danger I saw was that if the mouse wasn't ever moved, David's solution wouldn't work. This'll insure that the mouse gets moved.