Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: mark@ncgrafix.demon.co.uk (Mark Wassell)
Subject: Info on WmSetDECWmHints?
Date: 1995/04/03	[thread overview]
Message-ID: <D6GCtr.BqA@ncgrafix.demon.co.uk> (raw)



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



                 reply	other threads:[~1995-04-03  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox