window hook function and double click

Hi,

is there a simple way of calling a window hook function with a double click in a graph? There seems to be no specific "eventCode" for that and the only way I came up with to catch a double click is to write the "tick count" (i.e. the time when the event happened) of a "single click" to a global variable and check this variable for the second single click. Am I missing something here.

Cheers
You're not missing anything; use a timer or the tick count to detect two clicks "close together" in time.

--Jim Prouty
Software Engineer, WaveMetrics, Inc.
Won't this interfere with the normal purpose of double clicking a graph, i.e. to adjust some component.
That's what the window hook's return code is for...

--Jim Prouty
Software Engineer, WaveMetrics, Inc.
OK, thanks a lot.

@andyfaff: Just fyi, I'm using a "Ctrl + double click" anyway, so this isn't interfering with Igor's double click actions.