Purging the event queue?

T

Tyson Ackland

Is it possible, while dealing with an event, to ignore/delete any other
event that might come along while I'm busy? My scenario is a mouse click on
a picturebox control. I perform an action on the control in response to the
click but I find that if the user clicks madly away, all preceeding clicks
are subsequently actioned as the user sits back and watches. What I'd
prefer to happen is all mouse clicks to be ignored while I'm actioning the
first one. Then, when I'm finished, my proggie can listen for new mouse
click events.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top