or, you can make a command(cmdTopLeft), place it in the top left of form and set to not visible.

mouseX - cmdTopLeft.left
mouseY - cmdTopLeft.top

cose enough