I have tried to use the MouseMove event to track the position of the mouse.
protected override void OnMouseMove(MouseEventArgs e)
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.
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.
Does anyone know how to get MouseMove events (or similar) independent of mouse position?