Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!spool.mu.edu!uunet!infonode!ingr!b11! From: doyle@doyled.ingr.com (Doyle C. Davidson) Newsgroups: comp.windows.x.motif,ingr.x Subject: Re: Setting win decoration from within an app. Message-ID: <1991Feb20.224243.11927@b11.ingr.com> Date: 20 Feb 91 22:42:43 GMT References: <1991Feb18.171524.104@infonode.ingr.com> <1991Feb20.144320.11503@b11.ingr.com> Sender: @b11.ingr.com Reply-To: ingr!doyle Organization: IntergraphCorporation - Third Party Software Lines: 37 > >jon@infonode.ingr.com (Jon Stone) writes: > >>I want to be able to create some windows running under mwm, and have no >>borders placed on the window at all by mwm. I want to perform this >>function from within the app, instead of using the "clientDecoration: >>none" in the user's resource file. > >If you use any shell widget that has a VendorShell subclass, you will have >programmatic access to a resource called "XmNmwmDecorations". This resource >allows you to set the decorations of the shell window. > >A couple of comments on VendorShell and this resource: > > Note that this resource is of type int, and there isn't any very > specific documentation on what values are valid for this resource. > You will have to experiment with it. You might want to use an > app-defaults file at first to find out what numbers correspond to > what decorations, and then hard code it in your application once you > establish the desired results. > >chris davis See "/usr/include/Xm/MwmUtil.h" specifically MWM_DECOR_* Doyle ------------------------------------------------------------------ Doyle C. Davidson | Intergraph Corp. | These comments are... Everywhere You Look!! | Third Party Software | Product Development | \\ / (205) 730-2000 | \\/ | /\\ clusively my own. ..!b23b!doyled!doyle -or- | / \\ ..!uunet!ingr!doyle | ------------------------------------------------------------------