Making a Timeout Window and Mouse Move

I have a 2 minute timer and a window. When it gets to 20 seconds, I popup a new window and ask the user if they need more time, which works okay.
I can see where my widow fires a mouse move event, but is there anyway to see if the system reports the mouse is moving, even if it’s not on my window?

In the Timer check for the mouse position and compare it to the mouse position of the last timer call.