Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!uakari.primate.wisc.edu!bin From: bin@primate.wisc.edu (Brain in Neutral) Newsgroups: comp.sys.mac.programmer Subject: Re: Problem: getting strucRgn/contRgn of invisible windows Message-ID: <3856@uakari.primate.wisc.edu> Date: 29 Jan 91 16:39:56 GMT References: <48582@apple.Apple.COM> Sender: bin@primate.wisc.edu Reply-To: bin@primate.wisc.edu Lines: 15 From article <48582@apple.Apple.COM>, by keith@Apple.COM (Keith Rollin): | In article <3839@uakari.primate.wisc.edu> bin@primate.wisc.edu (Brain in Neutral) writes: |>Any way to determine the strucRgn of an invisible window? | | MacApp does this by saving off the contents of those fields, calling | the WDEF directly with the wCalcRgns message, looking at the results, | and then restoring the old contents of the fields. Anyone have code to do this? (Yes, I feel stupid asking this, since the WDEF function definition is in IM, but I had already tried this and couldn't get it to work. THINK C preferred, but anythink accepted gratefully.) -- Paul DuBois dubois@primate.wisc.edu