Results 1 to 2 of 2

Thread: The mouse question.

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 1999
    Posts
    6

    Post

    How do I get the number of min's of when the mouse cursor doesn't move?

  2. #2
    Hyperactive Member
    Join Date
    Sep 1999
    Location
    Cleveland, Ohio
    Posts
    263

    Post

    Use a loop or a timer, and store the X and Y coordinates on the screen using the GetCursorPos API, and Time into variables. Then, as this keeps repeating, when the coordinates change, meaning the mouse has moved, get the time, and find the difference between the two using the DateDiff function. If you need anyhelp, feel free to reply!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width