Path: utzoo!attcan!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!ucsd!ucbvax!bloom-beacon!EXPO.LCS.MIT.EDU!converse From: converse@EXPO.LCS.MIT.EDU Newsgroups: comp.windows.x Subject: Re: Need help porting from R2 to R4 Message-ID: <9012201848.AA00449@excess.lcs.mit.edu> Date: 20 Dec 90 18:48:17 GMT References: <3973@nicmad.UUCP> Sender: daemon@athena.mit.edu (Mr Background) Organization: X Consortium, MIT Laboratory for Computer Science Lines: 11 > The first problem (I am assuming that there will be more ...) is we build a > dialog, at somepoint we relize it, find out how big it is and then pop it up > in the center of the screen. > We rely quite heavily on the ability to relize a widget (unmapped) get its > size and then do positioning. The mechanism, of polling our creations for > their size, seems to be not working in many cases. It might help to take a look at R4 xmh code, specifically, the file popup.c