Path: utzoo!attcan!uunet!lll-winken!lll-tis!helios.ee.lbl.gov!nosc!ucsd!ucsdhub!hp-sdd!hplabs!hp-pcd!hpcvlx!fred From: fred@hpcvlx.HP.COM (Fred Taft) Newsgroups: comp.windows.x Subject: Re: Retrieving size of a PopupShell Message-ID: <100920003@hpcvlx.HP.COM> Date: 8 Sep 88 14:50:43 GMT References: <8809011652.AA13739@esosun.uucp> Organization: Hewlett-Packard Co., Corvallis, OR, USA Lines: 3 You're on the right track. To center your popup shell, first realize it, then query its height and width. Calculate the x and y where you want the popup shell to appear, and then use XtMoveWidget() to move the shell widget. Our menuing system does this, and it works great!