Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!rpi!uupsi!sunic!dkuug!modulex!morten From: morten@modulex.dk (Morten Hastrup) Newsgroups: comp.windows.x.motif Subject: Re: Unresizable windows ? Message-ID: <723@modulex.dk> Date: 13 Mar 91 10:00:18 GMT References: <1161@sicsun.epfl.ch> Organization: A/S MODULEX, Copenhagen, Denmark Lines: 23 stauffer@masg1.epfl.ch (Laurent Stauffer) writes: >How can I specify to the window manager that windows created >by my application are not allowed to be resized ? >I can't set the "XmNminWidth", "XmNmaxWidth", "XmNminHeight" and >"XmNmaxHeight" resources of the corresponding applicationSell Widget >because I don't know the size of the window at creation time. If you are using Motif you can remove the resize-handler by setting the XmNmwmDecorations at the shell to: "-resizeh" This is the proper way in Motif, because it shows the user that the application can't be resized. Morten ----------------------------------------------------- Morten Hastrup | Email: morten@modulex.dk A/S MODULEX | Phone: +45 44 53 30 11 Lyskaer 15 | Telefax: +45 44 53 30 74 DK-2730 Herlev | Denmark |