How to make a dialogbox in the front of the application ????

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

Questions about motif? Contact us

3 posts / 0 new
Last post
How to make a dialogbox in the front of the application ????

Submitted by Anonymous (not verified) on Fri, 06/15/2012 - 12:07

How to make a dialogbox in the front of the application all the way until the user close it .(like the "find" dialogbox in the Microsoft Word).
Thanks!!![/b]
‹ XmTextField and wide characters. How to bring an application window to front of desktop ›

kv2

Fri, 04/15/2005 - 12:14#1

Re: How to make a dialogbox in the front of the application

yjtao wrote:

How to make a dialogbox in the front of the application all the way until the user close it .(like the "find" dialogbox in the Microsoft Word).
Thanks!!![/b]
One of the way of creating dialogbox is XmCreateDialogShell(..), try to play with its " XmNdialogStyle", "XmNautoUnmanage" resources.

DarrylS

Mon, 04/18/2005 - 18:23#2

making a diaolg persistent

Similar to a problem I have been dealing with. I can make the application refuse input until the dialog is responded to using Modal settings. However, the dialog can easily be hidden and obscured but other elements on the screen within the same application.

What I want to do is keep it raised above all other of its application windows. XRaiseWindow has not achieved that for me. Probably using it wrong.

Is their a callback I can use to trap when my widget has lost focus? XmNlosingF..
is a Text widget callback.

Any input greatly appreciated. D