Click here to Skip to main content
15,917,328 members
Please Sign up or sign in to vote.
3.50/5 (2 votes)
See more:
Is there any mouse wheelpress or wheelhold even in C# need it for Report viewer...?

plz help...?
Posted

1 solution

I believe pressing the mouse wheel should translate to the 'middle' button. But you'll have to confirm on your own. As quoted from MSDN[^]:

"For a three-button mouse, there is no framework-level event support for the center button. You should use the MouseDown event and check the MiddleButton state in the event arguments."

I hope that helps...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900