From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b6ac,ebb2aab84ae48b0d,start X-Google-Attributes: gid10b6ac,public X-Google-Thread: f678f,ebb2aab84ae48b0d,start X-Google-Attributes: gidf678f,public X-Google-Thread: 1164f8,ebb2aab84ae48b0d,start X-Google-Attributes: gid1164f8,public X-Google-Thread: fee84,ebb2aab84ae48b0d,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-05-27 15:22:38 PST Path: bga.com!news.sprintlink.net!get.hooked.net!decwrl!hookup!swrinde!news.uh.edu!uuneo.neosoft.com!Starbase.NeoSoft.COM!nobody From: curtis@Starbase.NeoSoft.COM (Curtis Keller) Newsgroups: comp.unix.osf.osf1,comp.windows.x.motif,comp.unix.osf.misc,comp.sys.dec Subject: Removing decorations in OSF 2.0 Motif 1.2.x Date: 25 May 1994 13:35:29 -0500 Organization: NeoSoft Internet Services +1 713 684 5969 Distribution: inet Message-ID: <2s05ph$3t@Starbase.NeoSoft.COM> NNTP-Posting-Host: starbase.neosoft.com Summary: Can not remove title bar, menu, minimize and maximize Xref: bga.com comp.unix.osf.osf1:1761 comp.windows.x.motif:5632 comp.unix.osf.misc:564 comp.sys.dec:3390 Formerly, under OSF/1 V1.3 I was able to remove decorations successfully. However, under OSF/1 V2.0; using the same technique, the following are not removed: the title bar, menu, minimize and maximize buttons. Is there anyway around this? Here, is what I'm currently doing: ... Widget popup; Arg args[10]; int i; MwmHints mwm_set_hints; mwm_set_hints.flags = MWM_HINTS_DECORATIONS; mwm_set_hints.decorations = MWM_DECOR_ALL | MWM_DECOR_RESIZEH | MWM_DECOR_MENU | MWM_DECOR_BORDER | MWM_DECOR_TITLE | MWM_DECOR_MINIMIZE | MWM_DECOR_MAXIMIZE; i = 0; XtSetArg( args[i], XmNmwmDecorations, MWM_DECOR_ALL | MWM_DECOR_RESIZEH | MWM_DECOR_MENU | MWM_DECOR_BORDER | MWM_DECOR_TITLE | MWM_DECOR_MINIMIZE | MWM_DECOR_MAXIMIZE); i++; XtSetValues( popup, args, i); XtRealizeWidget( popup ); XChangeProperty( XtDisplay(popup), XtWindow(popup), motif_wm_hints, motif_wm_hints, 32, PropModeReplace, (unsigned char *)&mwm_set_hints, sizeof(MwmHints)/sizeof(int)); XtPopup(popup, XtGrabNone); ... Curtis Keller 713-953-8309 curtis@kinesix.com curtis@neosoft.com Kinesix, 9800 Richmond Ave, Suite 750, Houston, Texas 77042-4122 char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} -- Curtis Keller 713-953-8309 curtis@neosoft.com curtis@kinesix.com char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}