Originariamente inviato da oregon
Probabilmente dipende da come usi la GetAsyncKeyState ... se mostri il codice ...
Private Sub TRec_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TRec.Tick
If (GetAsyncKeyState(Keys.A) < 0) Then
For i As Integer = 48 To 57
If (GetAsyncKeyState(i) < 0) Then
MCRSeq.Add(i)
recStep += 1
End If
Next
End If
End Sub

Rispondi quotando