VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Make your own Hotkey easy with API

Thorsten Sanders  (1 Submission)   Windows API Call/Explanation   Visual Basic 3.0   Beginner   Wed 3rd February 2021

The code is very easy to make your own systemwide hotkeys with API Call!

Assumes
Make a new module and put the API Call in the module. You have to add a timer to your Form leave the standard name, put the intervall to 100 or when you want less or more you can do also, it is for how often he checks if the hotkey was pressed.

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

Rate Make your own Hotkey easy with API (7(7 Vote))
Make your own Hotkey easy with API.bas

Make your own Hotkey easy with API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters