how can i detect that the screensaver stops running? thanks.
Could you get away with detecting if the mouse has moved with the GetCursorPos API?
no, because the only input the user can do is a 'right mouse click'. can i intercept that with an api call?
You can use GetAsyncKeyState Code: Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer And the vKey constant for right mouse click is vbKeyRButton. Don't forget to loop the function.
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Forum Rules