title: Get current cursor position
body: <p>I want to get the current mouse position of the window, and assign it to 2 variables <code>x</code> and <code>y</code> (co-ordinates relative to the window, not to the screen as a whole).</p>
  
  <p>I'm using Win32 and C++.</p>
  
  <p>And a quick bonus question: how would you go about hiding the cursor/unhiding it?</p>