[英]Control key plus mouse wheel
What's the better way to handle the ctrl + mouse wheel in C#?在 C# 中处理 ctrl + 鼠标滚轮的更好方法是什么? I've figured out how to handle the MouseWheel event but how to know that the ctrl key is being pressed too?我已经想出了如何处理 MouseWheel 事件,但是如何知道 ctrl 键也被按下了?
使用静态属性,如:
System.Windows.Forms.Control.ModifierKeys
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.