🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #23721

subwindows wanting to know top ancestor info.

#23721
From: Rita Pascale
Date: Fri, 14 Jun 1991 17:39
24 lines
1182 bytes
Having a child/subwindow and knowing the top-most
ancestor window id (under the root window but not 
including the root), how can I find the top-most
window's width and height?

The only information I have on the child window
is its drawable area, not the rest of the window
structure.  And all I know about the top level
window is its id.

Is there a simple solution?

I tried cheating by adding fields to the drawable
structure, but this blew up things using the shape
extensions.

Rita Pascale                    |  Trusted X Research Group
pascale@trwacs.fp.trw.com       |  TRW Systems Division



-- 
Rita Pascale                    |  Trusted X Research Group
pascale@trwacs.fp.trw.com       |  TRW Systems Division
Technical Details
Message-ID: <307@trwacs.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!zaphod.mps.ohio-state.edu!caen!Firewall!uunet!trwacs!pascale

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!think.com!zaphod.mps.ohio-state.edu!caen!Firewall!uunet!trwacs!pascale
From: pascale@trwacs.UUCP (Rita Pascale)
Newsgroups: comp.windows.x
Subject: subwindows wanting to know top ancestor info.
Message-ID: <307@trwacs.UUCP>
Date: 14 Jun 91 17:39:41 GMT
Organization: TRW Systems Division, Fairfax VA
Lines: 24