Path: utzoo!attcan!uunet!ogicse!caesar.cs.montana.edu!samsung!usc!snorkelwacker!mit-eddie!uw-beaver!zephyr.ens.tek.com!tektronix!reed!bowman From: bowman@reed.UUCP (Eric Bowman) Newsgroups: comp.sys.mac.programmer Subject: window location Keywords: windows Message-ID: <14210@reed.UUCP> Date: 21 Feb 90 23:33:58 GMT Organization: Reed College, Portland OR Lines: 11 Is this the easiest way to get the global location of a window (in C): (?) locRect = *(Rect *) (*(short **)(((WindowPeek)(theWindow))->contRgn)+1); This works, but it's pretty ugly, and seeing as how Apple recommends saving window locations, I would think there is an easier way. Of course, thinking on these matters is somewhat dangerous... Thanks, BoBo (bowman@reed.bitnet)