>What's GetNextEvent or WaitNextEvent? I guess this is same as HANDLEEVENTS. >This topic was explained in Tecnotes form apple, but I cannot understand >because it's very hard... Originally the mac used GetNextEvent, but this was changed in System 7 when we were told to use WaitNextEvent. To make this happen, as we never see these, the FB runtime grabs them before we see anything, you must use POKE LONG EVENT -8, tickspersecond (see page 147 in the FB reference manual) I believe that getNextEvent meant that the Mac would sit and do nothing until it got an event - which could be long. Whereas WaitNextEvent means that it can deal with null stuff and give time to other apps. But Rick or mars can probably explain this better and more correctly. jonathan