Source: How do I detect keyPress while not focused?
I have read a tutorial about how to register a key, even when the window is not in the focus. This really hepled me, but I would like to check, if the Control (Ctrl) -Key is pressed as well at the same moment.
I tried this, but it didn't help:
if (ModifierKeys == Keys.Control)
{
//do stuff...
}
To be exactly, it required both Control-Keys (left and right) to be pressed at that moment to trigger...