[Info-vax] DECwindows: keep a window always on top?
George Cook
cook at wvnvms.wvnet.edu
Thu Sep 17 17:57:32 EDT 2009
In article <h8to0b$6lh$1 at pcls6.std.com>, moroney at world.std.spaamtrap.com (Michael Moroney) writes:
> The "workstation locked" "window" is always on top when present, covering
> everything. Is there any way of figuring out how it does this and doing
> the same thing in an otherwise "normal" window? Or is it done in a
> way that's completely different and not doable by normal windows?
>
> Just a thought.
My first guess would be that it sets the XmBulletinBoard's
XmNdialogStyle resource to XmDIALOG_SYSTEM_MODAL. That Motif
modality setting prevents the user from interacting with all
other applications.
XmDIALOG_FULL_APPLICATION_MODAL prevents the user from
interacting with any other window of that application.
XmDIALOG_PRIMARY_APPLICATION_MODAL prevents the user from
interacting with the parent window of the dialog.
The default when the parent is a DialogShell is XmDIALOG_MODELESS
(i.e., no modality).
George Cook
WVNET
More information about the Info-vax
mailing list