11

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?

cottontail
  • 10,268
  • 18
  • 50
  • 51
Adones Cunha
  • 373
  • 1
  • 6
  • 14

1 Answers1

23

Use the static property like:

System.Windows.Forms.Control.ModifierKeys
Enamul Hassan
  • 5,266
  • 23
  • 39
  • 56
TcKs
  • 25,849
  • 11
  • 66
  • 104