From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,eaf055d9a31207fc,start X-Google-Attributes: gidf678f,public X-Google-Thread: fee84,eaf055d9a31207fc,start X-Google-Attributes: gidfee84,public From: j_bond_007@pipeline.com (James Bond 007) Subject: Keeping a Transient Shell as the Top-most Window Date: 1996/11/22 Message-ID: <32957d25.1881840@news.pipeline.com>#1/1 X-Deja-AN: 198040759 x-server-date: 22 Nov 1996 10:17:40 GMT organization: On Her Majesty's Secret Service reply-to: j_bond_007@pipeline.com newsgroups: comp.unix.osf.misc,comp.unix.osf.osf1 I have created a Transient Shell window to warn the user that the function they are doing is not permitted in the system. I want to prevent them from doing ANYTHING else until they acknowledge or close it. In lieu of an obvious method to do it, I wrote a function to raise (via XRaiseWindow) the shell (via sxwmouse) on top of whatever window is currently on top. Is there a way to prevent the mouse from leaving the borders of the current (topmost) transient shell, or just disable the mouse (and corresponding keyboard functions) altogether until the user ack's the window? PLEASE E-MAIL YOUR RESPONSES!!! : ) (but, by all means, CC the newsgroup, as well) Thanks for any help! ------- AUTOBIOGRAPHY (FYI) : I am a Senior software engineer (15 years) and a C and Unix programmer (8 years each), but am new to Xwindows, OSF/Motif, and UIMX. ------ Bond . . . James Bond