Boa Noite Pessoal estou tentando impedir que o usuário use a tecla do Windows do teclado mais não estou
conseguindo, alguém pode me dar uma luz
Private Const Win_LWIN As Integer = &H5B
Private Const Win_RWIN As Integer = &H5C
Private Sub Informaçoes_KeyDown(sender As Object, e As KeyEventArgs) Handles MyBase.KeyDown
If e.KeyCode = Win_LWIN OrElse e.KeyCode = Win_RWIN Then
e.Handled = False
End If
End Sub
Question
igadino 0
Boa Noite Pessoal estou tentando impedir que o usuário use a tecla do Windows do teclado mais não estou conseguindo, alguém pode me dar uma luz Private Const Win_LWIN As Integer = &H5B Private Const Win_RWIN As Integer = &H5C Private Sub Informaçoes_KeyDown(sender As Object, e As KeyEventArgs) Handles MyBase.KeyDown If e.KeyCode = Win_LWIN OrElse e.KeyCode = Win_RWIN Then e.Handled = False End If End Sub
Link to post
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.