Path: utzoo!attcan!uunet!jarthur!usc!elroy.jpl.nasa.gov!ncar!bierstat.scd.ucar.edu!boote From: boote@bierstadt.scd.ucar.edu Newsgroups: comp.windows.x.motif Subject: Re: Help for modal windows needed Message-ID: <9093@ncar.ucar.edu> Date: 5 Nov 90 23:01:20 GMT References: <1990Oct30.182737.1219@applga.aa.cad.slb.com> Sender: news@ncar.ucar.edu Reply-To: boote@bierstadt.scd.ucar.edu () Organization: Scientific Computing Division / NCAR, Boulder Co. Lines: 16 In article <1990Oct30.182737.1219@applga.aa.cad.slb.com>, harper@applga.aa.cad.slb.com (Brett E. Harper) writes: > 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. Try using XtAddGrab on the widget you want to keep the focus. One of the parameters is the type of grab (exclusive etc.). You will however need to do an XtRemoveGrab on the widget when you are done with it. > Brett Harper > > harper@aaaca1.SINet.SLB.COM -- Jeff W. Boote SCD/NCAR boote@ncar.ucar.edu Boulder, Colo