🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #23726

Removing close funtion from system menus

#23726
From: grape
Date: Fri, 14 Jun 1991 16:40
17 lines
1306 bytes
Hello,
        I am attempting to use the XmNmwmDecorations and XmNmwmFunctions
resources to remove functions from the system menu on a widow's frame, and 
to remove decorations on the frame, particuarily on some frame dialog 
widgets.  I have found the integer values in MwmUtil.h which are used as the
values of these resources, but my attempts to use them have produces no 
results, such as removing the "close" option from the system menu. I have tried 
to remove the close option from the system menu with (in .Xdefaults):
        Mwm*client*XmFormDialog.clientDecorations: -close

but it still appears. Anybody out there had success using these resources or 
removing the close funtion from the system menu on a window frame with Motif
1.1 ?

        Michael D. Grapevine
        USN Pacific Missile Test Center
        805-988-3770
Technical Details
Message-ID: <9106141640.AA11395@tecnet1.jcte.jcs.mil>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines
From: grape@tecnet1.jcte.jcs.MIL
Newsgroups: comp.windows.x
Subject: Removing close funtion from system menus
Message-ID: <9106141640.AA11395@tecnet1.jcte.jcs.mil>
Date: 14 Jun 91 16:40:35 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 17