Xref: utzoo comp.windows.x:26499 comp.windows.x.motif:642 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!acorn!ixi!ixi!paul From: paul@ixi.uucp (Paul Davey) Newsgroups: comp.windows.x,comp.windows.x.motif Subject: Re: Creating a Message Box -- XmAPPLICATION_MODAL or XmSYSTEM_MODAL Message-ID: Date: 3 Sep 90 15:35:46 GMT References: <1990Aug16.025738.13408@media.uucp> <140782@sun.Eng.Sun.COM> Sender: paul@x.co.uk (Paul Davey) Organization: IXI Ltd. Lines: 19 In-Reply-To: argv@turnpike.Eng.Sun.COM's message of 16 Aug 90 18:30:54 GMT In article <140782@sun.Eng.Sun.COM> argv@turnpike.Eng.Sun.COM (Dan Heller) writes: -> Simply -- create a dialog box with XmNdialogStyle to be either -> XmAPPLICATION_MODAL or XmSYSTEM_MODAL. These only provide the appropriate functionality when the window manager is mwm, ie if your user is using twm they can popup 12 quit boxes (or whatever). System modality can be forced by using XtGrabKeyboard, as well as XmSYSTEM_MODAL. Application modality is more troublesome, but you could make all other shell widgets insensitive when your dialog is popped up. -- Regards, pd@x.co.uk IXI Limited Paul Davey pd@ixi.uucp 62-74 Burleigh St. ...!uunet!ixi!pd Cambridge U.K. "These are interesting times" +44 223 462 131 CB1 1OJ