Well... yes and no. A click occurs because to double click you have to click and then click again during a defined period. When you click the first time, the framework doesn't know if you are going to click again or not, so it signals a click immediately and you cannot avoid that. What you can do is that you can start a timer with a short timeout when a click occurs and if double-click doesn't come before the timer fires, you will know that the click you received earlier is "real" and you should handle it as such. The downside is that all your single clicks are going to lag behind because of this mechanism.
Bookmarks