Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!HERMES.BERKELEY.EDU!dillon From: dillon@HERMES.BERKELEY.EDU (Matt Dillon) Newsgroups: comp.sys.amiga.tech Subject: Re: Determining Window Border Widths Message-ID: <8904291926.AA19974@hermes.berkeley.edu> Date: 29 Apr 89 19:26:28 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 15 Heh. Ok, I tried a 0-bitplane screen and crashed my Amiga. oh well. The next best thing I suppose is to open a 1-bitplane SCREENBEHIND screen, then a window in it, figure out the border, and close the window & screen ?? Or, how about this: Open a BACKDROP|SIMPLE_REFRESH window with the pens set to 0 so very little shows up on the screen, get the borders or whatever else, then close the BACKDROP window, then open your normal window. This method has the advantage of not taking much memory. Unfortunately, the gadgets will show up, and I assume you need the gadgets to properly determine window borders. Hmm... still, it might be reasonable. -Matt