how can i detect that the screensaver stops running?
thanks.
Printable View
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
And the vKey constant for right mouse click is vbKeyRButton.Code:Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Don't forget to loop the function.