Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!mips!public!valentin From: valentin@public.BTR.COM (Valentin Pepelea) Newsgroups: comp.sys.amiga.programmer Subject: Re: Multitasking game problem Message-ID: <2866@public.BTR.COM> Date: 23 May 91 08:01:00 GMT References: <1804@tardis.Tymnet.COM> <1991May7.001146.1830@cinnet.com> <1991May10.103117.4270@cs.umu.se> <1991May11.072139.781@starnet.uucp> <1991May14.041050.20607@starnet.uucp> <1991May21.1 Organization: BTR Communications, Mtn. View, CA Lines: 19 In article <1991May21.135734.11209@ifi.uio.no> olag@ifi.uio.no (Ola Fosheim Gr|stad) writes: > >I am currently working on a multitasking game, but I've got a problem >since I don't want to suspend Intuition and am using my own Copperlist. > >How can I make sure that the user doesn't activate a screen or a window?? Install your own input handler to trap all inputs that could possibly activate a window. i.e. left mouse button events, left Amiga-N and left Amiga-M. I don't know how/when left-Alt left-Amiga fake mouse presses are generated, so I don't know if you have to do something special for those, too. Valentin -- "An operating system without virtual memory Name: Valentin Pepelea is an operating system without virtue." Phone: (408) 985-1700 Usenet: mips!btr!valentin - Ancient Inca Proverb Internet: valentin@btr.com