H
H
HappyMen2020-04-27 16:52:29
C++ / C#
HappyMen, 2020-04-27 16:52:29

How to do hotkey interception in c#?

Window Forms
I will minimize the program to tray, that is, we need a global interception.

That is, for example, if the user presses "f2" to turn off the sound (or other action).
It is necessary that the check be constant, that is, as if he pressed the key (the sound decreased), worked for 1 hour per PC, again I wanted to press the key and turn the sound down.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
#
#, 2020-04-27
@HappyMen

c# global hotkey hook

T
Timur Pokrovsky, 2020-04-27
@Makaroshka007

https://www.cyberforum.ru/csharp-beginners/thread1...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question