Um, I don't know what you mean by 'other things', but use GetCursorPos api to get the cursor's position.