Hi Wil
That Sleep() function actually solved my problem in a different way. By stopping the 100% processor usage while using a straight Do While loop by including the Sleep() function even for 1 millisecond I can now use the mrow() and mcol() functions to see if the mouse has moved or not since the last loop iteration. "What a difference a millisecond makes"!.
Thanks
Jos
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.