Submitted by Anonymous on Tue, 11/14/2000 - 12:14. Developers
How can I have windows always `on top` ?
Fri, 08/03/2012 - 12:06
#1
always stay on top
Questions about motif? Contact us
You can have this behavior only within your multiple
window application, not system-wide, since other apps
might want to do the same...
Try setting XmNdialogStyle to DIALOG_FULL_APPLICATION_MODAL
Dusan
In short, you can`t, without a very cooperative window manager (mwm will stack dialogs on the main window, but you can`t enforce stacking order among applications). Imagine the case in which two applications are trying this trick.
If you are using this top-most window to show errors or something else of great importance, then you can echo the information onto the main page in the MessageArea; you should not design your application to depend on a stacking order.
There is more information in the comp.windows.x FAQ, last seen on http//www.faqs.org and http//www.x.org.