Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!mailrus!ames!amdahl!nsc!voder!apple!lsr From: lsr@Apple.COM (Larry Rosenstein) Newsgroups: comp.sys.mac.programmer Subject: Re: suspend/resume/mouse-moved events Message-ID: <14951@apple.Apple.COM> Date: 29 Jul 88 20:38:05 GMT References: <2950@cvl.umd.edu> Reply-To: lsr@apple.apple.com.UUCP (Larry Rosenstein) Organization: Advanced Technology Group, Apple Computer Lines: 18 In article <2950@cvl.umd.edu> avjewe@cvl.umd.edu (Andrew Donaldson Jewell) writes: > >What exactly does (Get/Wait)NextEvent return for suspend, resume, >and MouseMoved events? What pieces of the event record >return what things? app4Evts are now considered OS Events. The high byte of the message field tells you what kind of OS Event. It is $01 for suspend/resume events and $FA for mouse moved events. For suspend/resume events, the low order bit is 1 for a resume and 0 for a suspend. Larry Rosenstein, Object Specialist Apple Computer, Inc. 20525 Mariani Ave, MS 46-B Cupertino, CA 95014 AppleLink:Rosenstein1 domain:lsr@Apple.COM UUCP:{sun,voder,nsc,decwrl}!apple!lsr