Article View: comp.sys.amiga.tech
Article #1651Re: Finding active screen
From: Eduardo Horvath
Date: Fri, 13 Oct 1989 16:29
Date: Fri, 13 Oct 1989 16:29
26 lines
1464 bytes
1464 bytes
In article <9022@batcomputer.tn.cornell.edu> riley@tcgould.tn.cornell.edu (Daniel S. Riley) writes: >In article <126033@sun.Eng.Sun.COM> cmcmanis@sun.UUCP (Chuck McManis) writes: >>In article <89281.222710CJC105@PSUVM.BITNET> CJC105@PSUVM.BITNET (Chris) writes: >>>How does one go about finding the active BitMap? The method I am using now is: > [ lots eaten ] >window on it). You might try instead > > Lock = LockIBase(); > bm = IntuitionBase->ActiveScreen->BitMap; > UnlockIBase(Lock); > [ sommore eaten ] >-Dan Riley (riley@tcgould.tn.cornell.edu, cornell!batcomputer!riley) >-Wilson Lab, Cornell U. I don't remember seeing an ActiveScreen pointer in IntutionBase. However, there is an ActiveWindow, so try this: Lock = LockIBase(); bm = IntuitionBase->ActiveWindow->Screen->BitMap; UnlockIBase(Lock); I used something similar to take over another application's screen once. Eduardo Horvath
Technical Details
Message-ID:
<1989Oct13.162959.386@sjsumcs.sjsu.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!apple!claris!sts!sjsumcs!33014-18References:
<89281.222710CJC105@PSUVM.BITNET> <126033@sun.Eng.Sun.COM> <9022@batcomputer.tn.cornell.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!uwm.edu!gem.mps.ohio-state.edu!apple!claris!sts!sjsumcs!33014-18 From: 33014-18@sjsumcs.sjsu.edu (Eduardo Horvath) Newsgroups: comp.sys.amiga.tech Subject: Re: Finding active screen Message-ID: <1989Oct13.162959.386@sjsumcs.sjsu.edu> Date: 13 Oct 89 16:29:59 GMT References: <89281.222710CJC105@PSUVM.BITNET> <126033@sun.Eng.Sun.COM> <9022@batcomputer.tn.cornell.edu> Reply-To: 33014-18@sjsumcs.SJSU.EDU (Eduardo Horvath) Organization: San Jose State University Lines: 26