Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!psuvax1!psuvm!uh2 From: UH2@PSUVM.BITNET (Lee Sailer) Newsgroups: comp.sys.amiga Subject: Re: CLI window on new screen... Message-ID: <89214.213022UH2@PSUVM> Date: 3 Aug 89 01:30:22 GMT References: <[917]un.amiga@tronsbox.UUCP> <7192@microsoft.UUCP> <823@bnr-fos.UUCP> Organization: Penn State University - Center for Academic Computing Lines: 10 In article <823@bnr-fos.UUCP>, protcoop@bnr-public.uucp (Co-op Student) says: >is quite simple but may not be obvious to all, so here goes. To ensure >your screen IS on top you can just do a ScreenToFront() (sp?). Yes, but there is a miniscule chance that after the ScreenToFront(), and just before your Execute(), the system will hand the system over to some other task that will put *its* screen in front, so that when you get control back you'll put the CLI on the wrong screen --- so --- use Forbid() and Permit(). lee