Mouse movement capture

前端 未结 3 565
时光取名叫无心
时光取名叫无心 2021-01-16 10:54

I have an application wich open a modal form with the ShowDialog method. Once this form is displayed I want to capture the mouse movement even if the cursor is outside the f

3条回答
  •  南方客
    南方客 (楼主)
    2021-01-16 11:06

    You can read the position of the cursor, using the Cursor.Position property, see Cursor.Position

提交回复
热议问题