Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!umich!sharkey!applga!harper From: harper@applga.aa.cad.slb.com (Brett E. Harper) Newsgroups: comp.windows.x.motif Subject: Help for modal windows needed Message-ID: <1990Oct30.182737.1219@applga.aa.cad.slb.com> Date: 30 Oct 90 18:27:37 GMT Sender: harper@applga.aa.cad.slb.com (Brett E. Harper) Organization: Schlumberger CAD/CAM ; Ann Arbor, MI Lines: 39 hello, Does anyone know of a good way to acheive modal input focus under motif? What I want is when a modal dialog box comes up, that it should lock out input to any other windows within the application. I have been trying to use the APPLICATION_MODAL feature of the dialog widget, but I have just been recently told that our implementation of Motif does not consider the entire application tree as being locked out. I guess the only window that is locked out is the primary window (the parent) of the window that is now application modal. This does not help me any I would like to see lock out on every window within the application. Suppose I had a hierarchry like this: TopLevel | | InfoWindow MainWindow | |...| P1 P2 Pn where, Px is a DialogShell that can either be modeless or modal. note, only one modal DialogShell will be on screen at any one time. Say P1 is modal, then I would like to lock out input to P2,...,Pn,InfoWindow, and MainWindow until P1 is undisplayed. Does anyone know of a way to do this? The version of MOTIF that I am using is 1.0 implemented on a HP9000s400 I would really appreciate any help that I can get on this subject. Thanks, Brett Harper harper@aaaca1.SINet.SLB.COM