Skip to content
Discussion options

You must be logged in to vote

Yes, the GetCursorPos documentation states:
"Retrieves the position of the cursor, in screen coordinates."
This is why ScreenToClient exists. Remember, because the mouse cursor is a system service, you have to be prepared for the situation where the cursor is outside of your window.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@steam3d
Comment options

@steam3d
Comment options

@DarranRowe
Comment options

Answer selected by steam3d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants