Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!spool.mu.edu!uunet!uswnvg!dmbeal From: dmbeal@uswnvg.UUCP (Dave Beal) Newsgroups: comp.windows.x.motif Subject: Motif 1.0 sizing child windows Keywords: Motif, child windows, sizing Message-ID: <797@uswnvg.UUCP> Date: 7 May 91 22:30:26 GMT Organization: US West NewVector, Bellevue, Wash. Lines: 29 To those who may know: I have a question related to having a main window tell its children the proper size of the work area before they are displayed. I have created a "main" window which manages and unmanages 2 child windows. The child windows are a list scrolled window and a text scrolled window. I would like the child window that is to be managed to fill the "work" area of the main window. If I resize the main window than the child window that is being managed will resize along with the main window. But when I manage the next child window, it did not know about the main window being resized and is displayed as though the main window where the size it last was, when this child was displayed. I hope thats not to confusing, what I am trying to determine is how to get my child windows to be the correct geometry to fill the work area of the main window. It looks like XtMakeGeometryRequest might do the job, but not sure when to use it? at initialization time or prior to each XtManageChild call. Any suggestions? Thanks in advance. Dave Beal USWEST NewVector uunet!uswnvg!dmbeal