I would like to know how you can clear the mouse clicks. Here is my problem.

I use an image as a button with mouse_move, mouse_up and mouse_down events. But what happens is that when I click once, if I click to fast a seconde time, the down effect of the button won't happen because the system taks the other click as a double click instead of a seperate new click.

I would like to know if there is a way I can flush the last click so that the system does not count it as first click in a double click. In that case the button will reply to the mouse down event and not the mouse_dblclick event.

Thanks in advance.