Control key plus mouse wheel

 ̄綄美尐妖づ 提交于 2019-12-23 07:40:15

问题


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.


回答1:


Use the static property like:

System.Windows.Forms.Control.ModifierKeys


来源:https://stackoverflow.com/questions/268796/control-key-plus-mouse-wheel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!