Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!samsung!zaphod.mps.ohio-state.edu!wuarchive!udel!mmdf From: 33014-18%sjsumcs.sjsu.edu@cunyvm.cuny.edu Newsgroups: comp.sys.amiga Subject: Re: Your undivided attention. Message-ID: <6155@nigel.udel.EDU> Date: 15 Dec 89 00:37:05 GMT Sender: mmdf@udel.EDU Lines: 27 In article <5389@nigel.udel.EDU> acm131%eric.ccs.northeastern.edu@cunyvm.cuny.edu writes: > >What is the way, under AmigaDOS, to put up a dialogue box which prompts the >user for information, and disallows context switches, opening new windows, >pulling down other screens, etc. Will doing a forbid() be good enough, or >is there more to it? Basically, I want Amy to STOP EVERYTHING until I get >the information. (or the user cancels out of the dialogue box) Yes, I >realise it's a pain, but I want to eliminate unpredictable states. It >seems to me there mucst be a way, because I see other software doing it. > One possibility is to set the WINDOW_DEACTIVATE (or the eqivalent, no RKMs handy) in your window, and whenever the user selects something else, do an ActivateWindow() and a WindowToFront() and a ScreenToFront(). That ought to get his attention. >Using Lattice C, if possible. > Craig. > /// acm131@eric.ccs.northeastern.edu Disclaimer: No, I didn't try it, don't blame me for any fireworks. ---- Eduardo Horvath | Director, Campaign to Free Doctor Science Send your contributions to: 33014-18@sjsumcs.SJSU.EDU "Why don't you stop your whining, and get back to work!" - Doctor Science