Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!tph From: tph@cs.utexas.edu (Pow-Hwee Tan) Newsgroups: comp.sys.next Subject: main event loop Message-ID: <228@qt.cs.utexas.edu> Date: 11 Mar 91 06:16:44 GMT Organization: U. Texas CS Dept., Austin, Texas Lines: 20 Greetings, Does anyone know the innards of the main event loop in the "run" method of Application class? I am trying to override the run method in my Application subclass. Specifically, I would like a routine I wrote to be called each time through the main event loop. I have tried using DPSAddTimedEntry with an interval of 0, but the animation done by the routine called is still jerky. While the 'jerkiness' may not be avoided totally with a heavy load, I would still prefer a more direct call from the main event loop to my routine. I have also tried overriding sendEvent, but sendEvent is not called when there is no event. Thanks in advance for any help. -- ph tan tph@cs.utexas.edu