Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!reading!news From: ac1@csug.cs.rdg.ac.uk (Andrew Cunningham) Newsgroups: comp.windows.x Subject: How do I block X events? Message-ID: <1990Nov15.190220.20413@csug.rdg.ac.uk> Date: 15 Nov 90 19:02:20 GMT Sender: news@csug.rdg.ac.uk Organization: University of Reading, UK Lines: 21 I am writing an X application using the Motif toolkit (on HP-UX 7.0, if it makes a difference). The program has to perform a computationally intensive task from time to time, and I'd like to be able to block the user interface while this is going on. Ideally I want to a) Display an hourglass cursor over the whole application b) Ignore any mouse/keyboard events until the operation is complete. Can anyone enlighten me as to how I could perform either or both of these tasks? ADVthanxANCE AndyC Yours etc, | e-mail: ac1@csug.cs.reading.ac.uk Captain B.J. Smethwick |------------------------------------------ in a white wine sauce with | Nobody agrees with my opinions, though shallots, mushrooms and garlic. | everybody is entitled to them.