Hi Luc, If you can signal abort to the comparision callback perhaps always setting record equality thereafter would quickly terminate the sort operation.
Regards, On 26/11/06, Luc Le Blanc <[EMAIL PROTECTED]> wrote: > > Users would like to be able to abort a (long) sort processed by > SysInsertionSort. Can this be done? > > I am not sure the event handler can receive a penDownEvent on the > screen while this API is running, and I don't see how I can abort this > API, even through the comparison callback function (that I could alert > via a global). > > The only solution I see is to code my own SysInsertionSort and check > for events regularly. Better ideas? > > > Luc Le Blanc > -- > For information on using the PalmSource Developer Forums, or to > unsubscribe, please see http://www.palmos.com/dev/support/forums/ > -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
