Control key plus mouse wheel
Asked Answered
F

1

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?

Fontaine answered 6/11, 2008 at 14:8 Comment(0)
O
24

Use the static property like:

System.Windows.Forms.Control.ModifierKeys
Olli answered 6/11, 2008 at 14:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.