Thanks.
Zafar.
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
So how about setting a variable in MouseRightUp and then in your
MouseRightDown loop check to see if that variable is set or not?
Robert
--
Robert Cooper Brooklyn, NY | "We don't know who discovered water, but
co...@panix.com | we're pretty sure it wasn't a fish..."
212 309-9600 (Work) | Attributed to Marshall McLuhan
Because the MouseRightUp method won't execute while the loop in
MouseRightDown is executing.
Darren Clark
In the MouseRightDown method:
InitializeLoop()
setTimer(X) ; tune X for the best performance
In the MouseRightUp method:
stopTimer()
CleanUpAfterLoop()
In the Timer method, put the code from the body of the loop, with no loop
control code around it-- the timer will take care of invoking it over and over
until the mouse button is released.
-bjorn aannestad
aa...@ucsu.colorado.edu