Getting mouse position relative to a control

I am trying to find a way to get the mouse position relative to the upper left corner of the control, is there any way to do this?

+5
source share
2 answers

yourControl. PointToClient (Control.MousePosition)

+3
source

All Articles