To check whether a mouse button is down use the static Control.MouseButtons property.
Example:
if ((Control.MouseButtons & MouseButtons.Right ) == MouseButtons.Right )
{
..
}
To check whether a mouse button is down use the static Control.MouseButtons property.
Example:
if ((Control.MouseButtons & MouseButtons.Right ) == MouseButtons.Right )
{
..
}
Getting the mouse wheel works somewhat different than expected.