Thanks for helping, I design an application that can have a very long display routine. So i need the capability of canceling the operation. I started to design a form with an Event Handler that manage the drawing routine. When a refresh append, i launch an application event thanks to the EvtAddToQueue function , the form event handler catch the event dans draw a piece of the display, an fire a new application event to continue the display until it's finished. that works fine but, i can't stop the drawing by pen or other events. In analysing the process, it appends that all events fired during the drawing phase are appened to the queue at the end of all the application events ?? I don't understand what's appening and why the user events are not inserted in the queue during the drawing phase. any ideas ?? Thank's for helping Patrice -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
