Look at this..
VB Code:
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Long) As Integer Private Sub Command1_Click() If GetAsyncKeyState(13) Or GetAsyncKeyState(vbKeySpace) Then Exit Sub '(Don't compute this click) End If MsgBox "Clicked!" 'Compute this click! End Sub




Reply With Quote