I need to get cursor position (by pixel not by window (WindowFromPoint don't work for me, because I need to set the cursor on one window in different places). How do I do that?

Thank You.