title: how to have mouse hold down right click in C#
body: <p>I figured out how to have mouse right click when certain events occur(in my case Kinect skeleton data) </p>
  
  <pre><code>mouse_event((uint)(MouseEventFlags.RIGHTDOWN | MouseEventFlags.RIGHTUP),(uint)mousepos.X, (uint)mousepos.Y, 0, 0);
  </code></pre>
  
  <p>This code performs mouse right click only once. How can I make it so it happens longer similar to holding down my mouse right click as long as I am doing certain gesture in Kinect?</p>