Hi !

I'm writing an application which make an intensive use of the stylus, which 
is permanently beeing dragged, and with a lot of up/down events.

As I only need the coordinate of it, and the fact it is up or down, I just 
read the necessary informations in the event structure ( penDown, ScreenX and 
screenY ).

To avoid the pen queue to be full, I catch all the pen events :
sysEventPenMoveEvent, sysEventPenUpEvent and sysEventPenDownEvent, and each 
time one of them occur, I call EvtFlushPenQueue, to be sure the queue keep 
empty.

All is working fine, except that sometimes, at very rare occasions, the 
system is freezing during about 4-5 seconds !

I make a nilvent occur every 1or 2 ticks, but for some reason I don't know, 
when the "freeze" occur, there is no event during these 4-5 seconds...

Do someone have any idea of the problem ?

-- 
Daniel Morais

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to