im using mouse_event function to simulate click when ever my video detects a color like blue, the problem is that when it detects blue it starts clicking over and over, i would like to perform single click when it detects the color and stop until the color goes out and comes back.

i dont thinks it is using any handler... there is mouse_event();
–
Mohsin MushtaqJan 6 '13 at 9:28

then how he capture the mouse events, Messages?
–
amr osamaJan 9 '13 at 9:30

i have this color detection when blue color comes in front of camera, it makes a blob around it using aforge.net so i codeded something like this if(objectreck.IsEmpty == false) { mouse.clickright(); } but the problem is it starts clicking with out stoping ! is there any way to stop it !
–
Mohsin MushtaqJan 14 '13 at 12:38