🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #12428

Re: Determining Window Border Widths

#12428
From: Matt Dillon
Date: Sat, 29 Apr 1989 19:26
15 lines
1052 bytes
	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
Technical Details
Message-ID: <8904291926.AA19974@hermes.berkeley.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!HERMES.BERKELEY.EDU!dillon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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