R
realDonaldTrump
Guest
Private Sub Form1_KeyDown(sender As Object, e As KeyEventArgs) Handles Me.KeyDown
If (e.KeyCode = 107) Then
MsgBox("Pressed")
End If
End Sub
I have these codes to detect a key press, however, if other forms are on top, this will not work. Is it possible to make it also work while not on top or minimized?
Continue reading...
If (e.KeyCode = 107) Then
MsgBox("Pressed")
End If
End Sub
I have these codes to detect a key press, however, if other forms are on top, this will not work. Is it possible to make it also work while not on top or minimized?
Continue reading...