VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

An Idle Check

Soluch  (1 Submission)   Miscellaneous   Visual Basic 5.0   Beginner   Wed 3rd February 2021

Idle Check tests your system whether it is in an idle state. Once the system is idle for a specified amount of time it performs a certain function. After it stops being idle a further further procedure is called. (Perfect for screensavers). This is done through checking any mouse cursor movements and any key presses.

API Declarations
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer
Private Declare Function GetCursorPos Lib "user32" (lpPoint As POINTAPI) As Long

Rate An Idle Check (8(8 Vote))
An Idle Check.bas

An Idle Check Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters