Hi,
It's quite simple actually.
have a fsm, that count the number of clicks in a int variables, and store the time of the click, then compare the time and if it's low enough, consider it a double and Fire a global event "DOUBLE CLICK" or something.
so, here is the steps.
when the user click, you check the current count
if 0. you record the time in a variable "first click time"
if 1, you record the time in a variable "second click time", and you compare both time, if it is below a certain amount, consider it a double click, and reset the counter to 0
does that make sense? I can do a small working example for this if you want.
bye,
Jean