|
-
Feb 2nd, 2004, 09:02 PM
#1
Thread Starter
Frenzied Member
[VB] Insta Hotkey
Private Declare Function GetAsyncKeyState Lib "user32.dll" (ByVal vKey As Long) As Integer
Private Sub Timer1_Timer()
Dim keystate(1) As Integer
keystate(0) = GetAsyncKeyState(vbKeyControl)
keystate(1) = GetAsyncKeyState(vbKeyTab)
If keystate(0) And keystate(1) And &H8000 Then
'If hotkey is pressed
End If
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|