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