Hmm. I'm now doing the following. It correctly hangs when pressing hard key
4, but no hang happens when one holds hard keys 1, 2 or 3. At the same time,
EvtGetEvent() correctly fetches keyHoldEvent events!
What priority did you register 'hede' at (in earlier experiments I think I
tried 0, -126, +126; now I am just trying 0)?
Err DeqHandler( SysNotifyParamType* np )
{
if ( ( ( EventType* )( np->notifyDetailsP ) )->eType == keyHoldEvent ||
( ( ( EventType* )( np->notifyDetailsP ) )->eType == keyDownEvent &&
( ( EventType* )( np->notifyDetailsP ) )->data.keyDown.chr ==
vchrHard4 ) ) {
top: goto top; // hang!
}
return errNone;
}
--
For information on using the PalmSource Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/