Path: utzoo!attcan!uunet!zaphod.mps.ohio-state.edu!caen!news From: mystone@mondo.engin.umich.edu (Dean Yu) Newsgroups: comp.sys.mac.programmer Subject: Receiving Required AppleEvents Message-ID: <1990Dec13.192404.22162@engin.umich.edu> Date: 13 Dec 90 19:24:04 GMT Sender: news@engin.umich.edu (CAEN Netnews) Organization: Patches 'R' Us, A Wholly Owned Subsidiary of Cyberite Systems Lines: 25 I was tinkering with the required AppleEvents last night, and I noticed something odd. In the old days (ie, under 6.x MultiFinder) when you double click on a document created by your application when the application is already open, your appliation comes to the front, and an Open is faked. This is also true under 7.0 if you're application isn't AppleEvent aware. If you do have the highLevelEventAware and localAndRemoteEvents bits set in your 'SIZE' resource however, the Finder passes you your document list via the 'odoc' AppleEvent instead of through the AppParmHandle low memory global. The thing that I noticed was that if the application was already open, and I double-clicked on one of my documents, the Finder does send the 'odoc' event, but my application doesn't come to the front. I don't think that this is correct. Has anyone else noticed this, or am I just off my rocker and overlooking something obvious? (It could very well be both, but that's besides the point...) _______________________________________________________________________________ Dean Yu | E-mail: mystone@mondo.engin.umich.edu Patches 'R' Us | Real-mail: Dean Yu A Division of Cyberite Systems | 909 Church St Apt C | Ann Arbor, MI 48104 I'm not the voice of Reason, much | Phone: 313 662-4073 less the voice of Cyberite. | 313 662-4163 -------------------------------------------------------------------------------