Closed tstaudte closed 3 years ago
Applications may still be responding to "KeyDown" and "KeyUp" events. If you want the keystrokes to be completely consumed, you need to subscribe to those events as well and run e.Handled = true
.
Thank you, Essoperagma, that did the trick. Excellent!
I'm following the example in vb.net to suppress ALL keys globally, it logs the keys as they are pressed, but they are still sent to the app (e.g. notepad), although I set e.handled=true. Here's the main code:
` Imports System.ComponentModel Imports Gma.System.MouseKeyHook
Public Class frmLockScreen
End Class `
Am I doing something wrong, or is this a bug?