A
A
antonwx2021-06-30 11:04:01
C++ / C#
antonwx, 2021-06-30 11:04:01

How to intercept mouse click in C#?

I need to intercept a mouse click and, depending on some conditions, prevent it from being passed on to the system. How to do it? Is it even possible to implement this in C#?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xCodeError, 2021-06-30
@xCodeError

The simplest is the MouseKeyHook library in the Nuget Manager (If in VisualStudio)
Git Link =

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question