Problem with multi-tap keys and CaptureKeyUpAndDowns

Login to reply to this topic.
Tue, 2008-04-01 21:01
Joined: 2007-09-18
Forum posts: 4

I'm writing an application for UIQ3 which is supposed to be in background and react on KeyDown/KeyUp events. I'm calling RWindowGroup::CaptureKeyUpAndDowns to listen to this events in HandleWsEventL. After I'm done with the handler I'm sending the event to the foreground window with the following code:

      RWsSession* ws = &iCoeEnv->WsSession();
      TInt wgid = ws->GetFocusWindowGroup();
      User::LeaveIfError(ws->SendEventToWindowGroup(wgid, aEvent));

It works fine unless I'm capturing UpAndDowns for multitap keys - they stop working as multi-tap and always give first charaster. E.g. I'm testing my application on SonyEricsson m600. When I'm capturing the events for the key with "." symbol when typing it always gives dot, and no window with special characters appear.

  • Login to reply to this topic.