Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!mailrus!tut.cis.ohio-state.edu!ut-sally!ut-emx!jdm From: jdm@ut-emx.UUCP (Jim Meiss) Newsgroups: comp.sys.mac.programmer Subject: Support for background tasks Message-ID: <1026@ut-emx.UUCP> Date: 1 Mar 88 00:02:33 GMT Organization: The University of Texas at Austin, Austin, Texas Lines: 19 Keywords: GetNextEvent, SystemTask I am writing a program using LSC 2.15 which puts up a dialog window containing a few editText items. The program seems to work flawlessly, supporting DA's, it can be switched into the background with Multifinder, etc; however it won't allow SmartAlarms to announce that an alarm is going off. Presumably it wouldn't work with Apple's Alarm clock as well, though I didn't check that. I do call SystemTask, and inactive windows are properly updated, and DA clocks advanced. I also call GetNextEvent in my main loop of course. My understanding is that GetNextEvent is supposed to check for background tasks. Is there a particular ROM routine that GetNextEvent calls to do this? Is there something simple that I could be doing wrong? How can I check to see why SmartAlarms isn't being activated? Thanks! Jim Meiss jdm@emx.utexas.edu jdm%uta.MFENET@nmfecc.ARPA -------------------------------------------------------------------------