Xref: utzoo comp.sys.mac.programmer:5414 comp.sys.mac:29650 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!bloom-beacon!apple!goldman@apple.com From: goldman@apple.com (Phil Goldman) Newsgroups: comp.sys.mac.programmer,comp.sys.mac Subject: Re: Checking for MF (was Re: Need some MF help) Message-ID: <1234@internal.Apple.COM> Date: 6 Apr 89 23:42:24 GMT Sender: usenet@Apple.COM Distribution: comp.sys.mac.programmer,comp.sys.mac Organization: Apple Computer, Inc. Lines: 18 References:<1179@internal.Apple.COM> <2749@pegasus.ATT.COM> In article <2749@pegasus.ATT.COM> ech@pegasus.ATT.COM (Edward C Horvath) writes: > This works fine EXCEPT when the application is part of a "Set Startup" > set and does not wind up frontmost. The app is set up in background, > and stays in background, but doesn't receive an initial Resume OR Suspend. > > Minor, but several of my users have complained about it. Simplest fix for > Apple is just to make sure startup apps get a Suspend event (preferably > excepting the frontmost app). MF *does* give background apps a suspend event as the first event. However, like all suspend/resume events the event will be dropped if the app calls _WaitNextEvent/_GetNextEvent/EventAvail with app4 events masked out. Perhaps this is why your app does not see it. -Phil Goldman Apple Computer