I wrote a little function that makes the mouse fly around the screen. Whee!
I thought it would be neat to have it do the same thing in Windows Paint, except draw lines while it "flies". Abbreviated code (minus boundary checking, etc.) is below:

Note the last 3 lines. MoveMouse works fine. The mouse flies and bounces around the screen. However, if I use (read as uncomment) either the PressMouse (for lines) or Click (for dots), everything slows WAY down.
I tried adding Agent.FlushEvents, but it didn't help.

Obviously not an ****** question...just wondering.
Thanks!



[This message has been edited by Damian Synadinos (edited 04-06-2000).]