Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!turnkey!orchard.la.locus.com!prodnet.la.locus.com!rick From: rick@prodnet.la.locus.com (Richard Petkiewicz) Newsgroups: comp.windows.x.motif Subject: Freezing the Scrollbar Message-ID: <25651@oolong.la.locus.com> Date: 22 Jun 91 00:55:26 GMT Sender: rick@locus.com Lines: 24 ------- I need to find out if there is any way to temporarily turn off scrollbar processing. I have an application where it may sometimes take a while to get the data I need to display when a scrollbar moves. I would like to display a "watch" cursor and halt scrollbar processing while the application is waiting for data. I don't want to "freeze" the whole application by waiting for the data in the callback. I tried to use XtSetSensitive to make the scrollbar insensitive to input, however that does not prevent scrollbar changes due to auto-repeating. In fact, if the mouse button was pressed in the increment or page-increment area, turning off sensitivity will induce auto-repeating even if the mouse button is released, because the release is never seen. I've considered moving the scrollbar back to where I want it, but my guess is that that approach would produce a "jittering" scrollbar effect. I am currently using Motif 1.0, but plan to move to Motif 1.1 in the relatively near future. I would appreciate any suggestions on how best to handle this situation.