12-29-2009, 01:26 PM
(This post was last modified: 12-29-2009, 01:33 PM by ElephantShoe.)
I'm very new to VB, or coding in general, but I followed an Auto Clicker tutorial because I thought it would be very easy and good to start with. Everything works, except I'm not too sure on how to make a hotkey.
I have two buttons, "Begin" and "Stop." I want to assign F10 to Begin and F12 to Stop.
I have this code already:
From what I know, you'll be needing a Timer to make the hotkey. But now, I'm totally confused. If anyone would like to see the source for more info, just post.
Also, how do I put in a picture in the background so my GUI looks better?
I have two buttons, "Begin" and "Stop." I want to assign F10 to Begin and F12 to Stop.
I have this code already:
Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long) As Integer
From what I know, you'll be needing a Timer to make the hotkey. But now, I'm totally confused. If anyone would like to see the source for more info, just post.
Also, how do I put in a picture in the background so my GUI looks better?