tags:

views:

44

answers:

1

What is the control event for middle mouse down and move? That is, what is the event that I can subscribed to when I hold my middle mouse down and move the mouse?

+4  A: 

Have a look at

You can also try something like this

private void Form1_MouseMove(object sender, MouseEventArgs e)
{
    if (e.Button == MouseButtons.Middle)
    {
        label1.Text = String.Format("{0} :: {1}", e.X, e.Y);
    }
}
astander