Hello all,

Does anyone know how to detect a double click event in C++ Series 60 programming?

I am trying to detect that the joystick has been double-clicked but for some reason I never see the event modifiers include the bit for double click no matter which button I doouble click or how quickly I do it.

My test bit of code looks like:

----------------------------------------------------------
TKeyResponse CMyContainer::OfferKeyEventL (const TKeyEvent& KeyEvent, TEventCode aType)
{
if (aKeyEvent.iModifiers & EModifierDoubleClick)
return EKeyWasConsumed;
----------------------------------------------------------

I put a breakpoint on the return line but it never goes there.

Does anyone know what I am doing wrong? Do I have to implement it manually by timing between clicks?

Thanks in advance for any help.