Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!sun!pepper!cmcmanis From: cmcmanis%pepper@Sun.COM (Chuck McManis) Newsgroups: comp.sys.amiga.tech Subject: Re: Determining Window Border Widths Message-ID: <100572@sun.Eng.Sun.COM> Date: 22 Apr 89 20:17:33 GMT References: <2164@pur-phy> Sender: news@sun.Eng.Sun.COM Reply-To: cmcmanis@sun.UUCP (Chuck McManis) Distribution: usa Organization: Sun Microsystems, Mountain View Lines: 25 In article <2164@pur-phy> murphy@pur-phy (William J. Murphy) writes: >With the ability to use fonts other than Topaz 80 in different >windows, I am wondering how the system (Intuition in particular) >determines the width of borders. Magically, you don't need to know. Instead, you can get the information *after* intuition has figured out all of the borders by looking at the fields in the window structured named : BorderLeft, BorderRight, BorderTop, BorderBottom These contain the border sizes. >I assume that the standard window has side and bottom borders of >width and height 1 pixel. Is this correct? No. Try it and see. Let me again reccomend to new and experienced Amiga programmers alike, read the include files. There is lots of "neat" stuff in there. --Chuck McManis uucp: {anywhere}!sun!cmcmanis BIX: cmcmanis ARPAnet: cmcmanis@sun.com These opinions are my own and no one elses, but you knew that didn't you. "A most excellent barbarian ... Genghis Kahn!"