Path: utzoo!attcan!uunet!airgun!lampshir From: lampshir@airgun.wg.waii.com (gregory b. lampshire) Newsgroups: comp.windows.x.motif Subject: Ignore my last posting, read this one... Keywords: MOTIF Message-ID: <863@airgun.wg.waii.com> Date: 12 Jul 90 18:39:29 GMT Organization: Western Geophysical, Houston Lines: 33 Sorry about the last posting, it turns out that an include file that should have been included wasn't, so I explicitly included it. My only gripe about setting the window decorations in MOTIF is that you cannot turn of the menu button without turning off other elements of the title and border (Can someone prove me wrong, please?) Here is a deeper question that should be straight- forward. How can I forcibly tell a message box widget to resize itself before mapping? What I have done is create a widget at startup and would like to change the message and redisplay it. Unfortunately, when I redisplay it with the new message, the size of the widget is still governed by the old label size. I need to have the message box resize itself (I do a poor job of resizing). I have tried setting XmmappedWhenManaged to FALSE, re-realizing the widget after I have set the new message, then explicitly mapping the widget myself. This approach does not seem to work. Also, the label widget inside the message box should auto resize (via a resource) but this change does not seem to propagate up the widget tree. Sorry about all the other messages lately, I am a new X/MOTIF programmer and get hung up on some of the small stuff. -- Gregory B. Lampshire | DOMAIN lampshir@airgun.wg.waii.com Western Geophysical | UUNET uunet!airgun!lampshir