How to make the mouse position loop ? RRS feed

  • Question

  • I would like that when my mouse cursor reach the left or the right border of the screen, it re-appears on the other side. I mean the mouse position loop horizontally.

    For example, my left mouse reach the left border of the screen and it appears on the right side.

    How can I do that in my WPF application? I want to be able to activate/deactivate dynamically.

    Thank you
    Wednesday, July 4, 2007 11:06 AM


  • Hello, if you want to get and set screen width mouse cursor position, you’ll have to use Win32’s GetCursorPos and SetCursorPos function.

    Friday, July 6, 2007 4:34 AM