"Jan Slodicka" <[EMAIL PROTECTED]> a �crit dans le message de
news:[EMAIL PROTECTED]
<snip>
> Perhaps this should be replaced by
>
> while( true )
> {
> EvtGetEvent(&event, 0);
> if( event.eType == nilEvent )
> break ;
> // do something...
> }
>
> Seems to be smaller and safer code. (By "safer" I mean that it does not
> introduce unnecessary delays in the situations when they are to be
avoided.)
>
<snip>
This loop will reduce the battery life as the device will never go to sleep
between events.
--
Regis St-Gelais
www.laubrass.com
--
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/