Implanting mouse simulation need visual feed back that mouse is clicked

StackOverflow https://stackoverflow.com/questions/19922353

  •  30-07-2022
  •  | 
  •  

문제

Implanting mouse simulation application using c# and winApi to control other windows application , need to blink the cursor when I simulates Mouse click event. so that I will get a visual feed back that mouse is clicked.

도움이 되었습니까?

해결책

You could use ControlPaint.DrawReversibleFrame() or ControlPaint.DrawReversibleLine() to draw a quick series of disappearing concentric shapes to give feedback. When you draw the exact same frame/line twice with these methods they erase themselves and restore whatever was there before.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top