I found the bug.
My animation routine sets the coordinateSystem to kCoordinatesDouble only if
this is supported which seems to be causing lots of issues to the
FrmDispatchEvent method.
By changing the event handling routine to:
if (isPalmOS5andDoubleDensity())
{
WinPushDrawState();
WinSetCoordinateSystem(kCoordinatesStandard);
}
for(;;)
{
EvtGetEvent(&lEvent, 0);
if (lEvent.eType == nilEvent)
break;
else
if(! SysHandleEvent(&lEvent))
if (FrmDispatchEvent(&lEvent))
lStop = true;
}
if (!lStop)
SysTaskDelay(iDelay);
if (isPalmOS5andDoubleDensity())
{
WinPopDrawState();
}
all is fine.
Best regards
Benoit Cerrina
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/