Question

What's the better way to handle the ctrl + mouse wheel in C#? I've figured out how to handle the MouseWheel event but how to know that the ctrl key is being pressed too?

Thanks in advance.

Was it helpful?

Solution

Use the static property like:

System.Windows.Forms.Control.ModifierKeys
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top