Article View: comp.sys.amiga.tech
Article #12395Re: Determining Window Border Widths
From: Tony Sumrall
Date: Wed, 26 Apr 1989 23:57
Date: Wed, 26 Apr 1989 23:57
30 lines
1871 bytes
1871 bytes
In article <100572@sun.Eng.Sun.COM> cmcmanis@sun.UUCP (Chuck McManis) writes: >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. True but they only contain that information *after* the window has been opened. There are times that it would be nice to have this info *before* you open the window (like, so you could set the window's size prior to the OpenWindow() call). Maybe this qualifies as a 1.4 wish? inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder inews fodder -- Tony Sumrall acs@pccuts.pcc.amdahl.com <=> amdahl!pccuts!acs [ Opinions expressed herein are the author's and should not be construed to reflect the views of Amdahl Corp. ]
Technical Details
Message-ID:
<783@pccuts.pcc.amdahl.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pccuts!acsReferences:
<2164@pur-phy> <100572@sun.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!ames!amdahl!pccuts!acs From: acs@pccuts.pcc.amdahl.com (Tony Sumrall) Newsgroups: comp.sys.amiga.tech Subject: Re: Determining Window Border Widths Message-ID: <783@pccuts.pcc.amdahl.com> Date: 26 Apr 89 23:57:34 GMT References: <2164@pur-phy> <100572@sun.Eng.Sun.COM> Reply-To: acs@pccuts.pcc.amdahl.com (Tony Sumrall) Distribution: usa Organization: Amdahl Corporation, Sunnyvale CA Lines: 30