From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3ad4592d64860765,start X-Google-Attributes: gidfee84,public X-Google-Thread: 10b612,3ad4592d64860765,start X-Google-Attributes: gid10b612,public From: mark@ncgrafix.demon.co.uk (Mark Wassell) Subject: Info on WmSetDECWmHints? Date: 1995/04/03 Message-ID: #1/1 X-Deja-AN: 100804560 sender: usenet@demon.co.uk x-posting-host: ncgrafix.demon.co.uk organization: N.C.Graphics keywords: DecWindows Window manager Motif reply-to: mark@ncgrafix.demon.co.uk newsgroups: comp.unix.ultrix,comp.unix.osf.osf1 I am trying to run a Motif application on a machine with a DecWindows manager. Dialog boxes which have a resize button under a Motif window manager don't under the Decwindows manager. I see that one of the include files (X11/DECWmHints.h) (on both OSF/1 and Ultrix 4.3) mentions a function WmSetDECWmHints and a structure DECWmHintsRec. I suspect this is what I need, but don't know how to call it and we don't seem to have the relevant documentation. Does anyone have this information? I have tried the following but the program gave a segmentation fault: decor_hints.no_resize_button = False; decor_hints.value_mask = DECWmNoResizeButtonMask; WmSetDECWmHints(XtDisplay(dialog_widget),XtWindow(dialog_widget), &decor_hints); I have also had a look at the DEC_WM_HINTS property but this looks like being hard work. Thanks in advance, Mark Wassell