Adones Cunha
Adones Cunha

Reputation: 373

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?

Upvotes: 11

Views: 6501

Answers (1)

TcKs
TcKs

Reputation: 26642

Use the static property like:

System.Windows.Forms.Control.ModifierKeys

Upvotes: 24

Related Questions