title: How to move mouse to second screen monitor?
body: <p>I'm making an application that needs to programmatically move the mouse pointer.
  My ide is VC++ 2013.
  I'm using the winuser.h header with this function: </p>
  
  <pre><code>SetCursorPos(int x, int y);
  </code></pre>
  
  <p>But this moves the mouse only on the primary screen.
  For the case that has only one monitor this works fine.
  But if I'm in presentation mode, with 2 monitors I need to move the mouse to the second monitor. </p>
  
  <p>so, I to need detect if has 2 monitors and if it has, move the mouse to the second monitor. </p>