« Event handler patterns. | Main | XML Documentation implementation lags behind JavaDoc, data is there, tools are not. »

Standard mouse event sequences for single and double clicks.

The mouse event sequence is MouseDown, Click, MouseUp. The Click is triggered by the release of the button and will occur even if the mouse moves while the button is pressed.

A double click is a MouseDown, Click, MouseUp, MouseDown, MouseUp event sequence. The second click is converted into a double click event presumably. Key to note that an initial Click event still occurs.

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)