W
Wolfgang Meier
Hello all,
I'm trying to temporarily block all events like button presses and
mouse clicks from reaching any application on my device, but to no
avail.
So far I've tried to use GAPI for the buttons and a full-screen form
for the mouse events, but popups can easily steal the focus from my
application, so that won't work. Attempts at installing global hooks
with SetWindowsHookEx or QASetWindowsJournalHook led to
NotSupportedExceptions - maybe because of managed code?
My last hope would be to write an intermediate driver for keyboard and
touch panel, but surely there must be a simpler way?
I'd be grateful for any suggestions on how to achieve this.
Thanks in advance,
Wolf
I'm trying to temporarily block all events like button presses and
mouse clicks from reaching any application on my device, but to no
avail.
So far I've tried to use GAPI for the buttons and a full-screen form
for the mouse events, but popups can easily steal the focus from my
application, so that won't work. Attempts at installing global hooks
with SetWindowsHookEx or QASetWindowsJournalHook led to
NotSupportedExceptions - maybe because of managed code?
My last hope would be to write an intermediate driver for keyboard and
touch panel, but surely there must be a simpler way?
I'd be grateful for any suggestions on how to achieve this.
Thanks in advance,
Wolf