Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Control key plus mouse wheel

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.

like image 255
Adones Cunha Avatar asked Nov 06 '08 14:11

Adones Cunha


1 Answers

Use the static property like:

System.Windows.Forms.Control.ModifierKeys
like image 160
TcKs Avatar answered Nov 06 '22 09:11

TcKs