VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Dedect keypress

-raistlinthewiz- Huseyin Uslu  (1 Submission)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

This code finds if any key pressed. This will be helpfull for example you're programming a screensaver. But you can not get keypresses through forms because of some components which does not support this keypress event. So you must use some API's to do this.

API Declarations
Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer

Rate Dedect keypress (3(3 Vote))
Dedect keypress.bas

Dedect keypress Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters