Bring a dialog from background to foreground

This forum is read only. No new submissions are accepted.

Questions about motif? Contact us

2 posts / 0 new
Last post
Bring a dialog from background to foreground

Submitted by Anonymous on Wed, 09/19/2001 - 11:20. Developers
Anybody know how I can bring a dialog box from the background to the foreground?

ICS_support

You can raise the window associated with the dialog`s shell. This is one of the few occasions on which it is appropriate to use Xlib calls to manipulate widgets; Xt has a bit of a hole about raise/lower requests, including for top-level windows.

Note that the window manager has ultimate control over the request, which may well be denied. In this case, it sounds like you`re not using mwm, which places dialogs above their parents, in any case.