Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!ucbvax!bloom-beacon!dont-send-mail-to-path-lines From: srj@compsci.stirling.ac.UK (Steve_Jones) Newsgroups: comp.windows.x Subject: (none) Message-ID: <9105131610.AA28652@uk.ac.stir.cs.whatsit> Date: 13 May 91 15:10:02 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 33 Hi, I hope someone out there can help - I'm very frustrated! I want to pop up a shell widget and then reposition and resize it, with coordinates and dimensions that I have got from somewhere else. I have XtPopup(mywidget, XtGrabNone); XtMoveWidget(mywidget, new_x, new_y); XtResizeWidget(mywidget, new_width, new_height, 1); and my popup gets put in the position that I want it, but it won't resize! new_width and new_height are unsigned integers. However if I put actual values in for the dimensions XtResizeWidget(mywidget, 400, 400, 1); the popup does resize to the specified dimensions! Can anyone explain this please, and maybe help me get around it. I'm using the HP WIdget set and X11R2. Thanks in advance for any help Steve Jones Dept Computing Science and Mathematics University of Stirling Stirling Scotland srj@uk.ac.stir.cs