Middle Mouse Button Down/Up

Apr 20, 2015 at 8:24 PM
How do I simulate middle mouse button down/up? I've tried inputSim.Mouse.XButtonDown(2) and inputSim.XButtonDown((int)VirtualKeyCode.MBUTTON) and .Keyboard.KeyDown(VirtualKeyCode.MBUTTON) , but they all don't work.

Thanks,
William
Oct 24, 2016 at 8:07 PM
I saw another user on this forum using:

sim.Mouse.VerticalScroll(100);

By middle mouse button, do you mean the scroll wheel or something else?