title: How do I access Mouse movement events in WPF regardless of where the mouse is?
body: <p>I have tried to use the MouseMove event to track the position of the mouse.</p>
  
  <pre><code>protected override void OnMouseMove(MouseEventArgs e)
  </code></pre>
  
  <p>This works when the mouse is over the given UIElement (in this case, my application's window,) however I would like to access this data regardless of where the mouse is, and preferably even regardless of whether or not my application has focus.</p>
  
  <p>I thought that Mouse.Capture was the solution, and I have used it to capture to my window, however MouseMove is still only raised when the mouse is over the window.</p>
  
  <p>Does anyone know how to get MouseMove events (or similar) independent of mouse position?</p>