Skip to content
Discussion options

You must be logged in to vote

Hello! Thanks for asking!

In order to have the ability to suppress events you need to use SimpleGlobalHook - TaskPoolGlobalHook doesn't support suppressing events since it runs event handlers on other threads.

It doesn't matter if you use Run or RunAsync to run the global hook - SimpleGlobalHook allows suppressing events either way.

Also, please note that suppressing events works only on Windows and macOS, it doesn't work on Linux.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@TolikPylypchuk
Comment options

@wrekklol
Comment options

@TolikPylypchuk
Comment options

@wrekklol
Comment options

@TolikPylypchuk
Comment options

Answer selected by TolikPylypchuk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants