Getting Position of mouse cursor when clicked out side the form's boundary

前端 未结 5 1248
轻奢々
轻奢々 2020-12-06 08:00

It is very easy to get the position of cursor out side the form\'s boundary by just dragaging the mouse it sends many values to the form when ever the position changes, form

5条回答
  •  广开言路
    2020-12-06 08:41

    You should use Global Mouse Hook logic to do this.

    Here is a good article that will help you: Processing Global Mouse and Keyboard Hooks in C#

提交回复
热议问题