title: MouseDown and then MouseUp doesn't work
body: <p>I am trying to redirect mouse inputs on my Windows 7 application to some other window.
  If I do this when I get WM_LBUTTONUP, it works (where MouseDown and MouseUp are SendInput functions in Win api):</p>
  
  <pre><code>SetForegroundWindow( other window );
  SetCursorPos( somewhere on the window );
  MouseDown();
  MouseUp();
  SetCursorPos( back );
  SetForegroundWindow( main window );
  </code></pre>
  
  <p>But I don't want to only do mouse releases, I want to be able to capture all mouse stuff, including movements and dragging.</p>
  
  <p>So this is next logical thing to do but it doesn't work:</p>
  
  <pre><code>WM_LBUTTONDOWN:
  Do everything like before without MouseUp()
  
  WM_LBUTTONUP:
  Do everything like before without MouseDown()
  </code></pre>
  
  <p>This doesn't even work for regular clicks. I can't figure out why.
  Can anybody help?</p>