Path: utzoo!utgpu!water!watmath!clyde!att-cb!att-ih!pacbell!ames!lll-lcc!well!mz From: mz@well.UUCP (Michael Zentner) Newsgroups: comp.sys.mac.programmer Subject: Re: WaitNextEvent question Summary: sleep and mouseRgn parameters revealed Keywords: WainNextEvent Multifinder sleeping background Message-ID: <5587@well.UUCP> Date: 2 Apr 88 23:17:49 GMT References: <1988Apr1.120105.112@mntgfx.mentor.com> Lines: 14 The sleep (unsigned long) param to WaitNextEvent is the time (in ticks) to relinquish the processor if no events are pending. The mouse (RgnHandle) param is used to allow non-critical mouse movements. It specifies a region within which you don't care if the mouse moves around, like the cursor doesn't change, etc. If the mouse moves outside this region, the application will get a "moused moved" event, which is a null event with new mouse co-ordinates. I haven't actually used all this yet, I'm just quoting the Release Note of 8-6-87. .