Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!infonode!ingr!b11!davis From: davis@b11.ingr.com (Chris Davis) Newsgroups: comp.windows.x.motif,ingr.x Subject: Re: Setting win decoration from within an app. Message-ID: <1991Feb21.152742.7966@b11.ingr.com> Date: 21 Feb 91 15:27:42 GMT References: <1991Feb18.171524.104@infonode.ingr.com> <1991Feb20.144320.11503@b11.ingr.com> <1991Feb20.224243.11927@b11.ingr.com> Organization: Intergraph Corp. Huntsville, AL Lines: 36 doyle@doyled.ingr.com (Doyle C. Davidson) writes: >> >>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 C. Davidson In addition to Doyle's reference, I found some other docs on this subject. Take a look in the OSF/Motif Programmer's manual at Chapter 12, Section 3. -- chris davis