VB.NET - Mouse Coordinates

后端 未结 3 833
春和景丽
春和景丽 2021-01-24 16:52

I have a vb.net application, and I want to know how to find the coordinates of the pointer (mouse) when it is clicked on the form. Not much else to say, so I\'ll leave it like t

3条回答
  •  臣服心动
    2021-01-24 17:36

    I believe you are looking for the mousedown event. Mind that, if you are looking for actual screen coordinates, you might have to perform some calculations as well or use Windows API to get the coordinates fast.

提交回复
热议问题