title: Does SetWindowPos paint immediately
body: <p>On every mouse move event, I am moving my window. From the documentation it appears that if the move is successful <code>SetWindowPos</code> return a non-zero value. </p>
  
  <p>I wanted to confirm my inference that every time <code>SetWindowPos</code> returns a non-zero value, the move has already happened. Which means, the window has actually been re-painted at the new position and only then does the function return. It is NOT the case that move will happen a little while later (when some kind of message is processed) after the function has returned.</p>