Hey, i want to see if the mouse is moving (even off the program) and if it is not for my program to show a window.
Is this possible? To see if the mouse is moving even off my program (for example on the desktop or any other application)
I searched quite a bit but couldn't find a solution.
(I basically want to make a small screensaver sort of thing)
Thank You!
Capture mouse movement off screen
Page 1 of 11 Replies - 1341 Views - Last Post: 31 August 2013 - 06:22 AM
Replies To: Capture mouse movement off screen
#2
Re: Capture mouse movement off screen
Posted 31 August 2013 - 06:22 AM
yes it is possible, you can set a timer that checkes the position of the screen that your application is on every tick and create a rectangle the size of the form at that position, then check if that rectangle contains the mouseposition, if not, show a messagebox and stop the timer, then when the message box closes, start the timer again.
Page 1 of 1