Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!uhccux!hale.ifa.hawaii.edu From: denault@hale.ifa.hawaii.edu (Tony Denault) Newsgroups: comp.windows.x Subject: Need help with XView Scrollbars Keywords: XView, scrollbar Message-ID: <8754@uhccux.uhcc.Hawaii.Edu> Date: 28 Jul 90 03:09:42 GMT Sender: news@uhccux.uhcc.Hawaii.Edu Organization: Institute For Astronomy, Hawaii Lines: 22 I need help with dealing with scrollbars in XView. I have a canvas with scrollbars. I defined the paint window to be the same size as the canvas subwindow. My redraw procedure determines which portion of the data needs to be displayed based on some internal parameters. My redraw procedure changes the OBJECT_LENGTH, VIEW_LENGTH, ect.., to match the scrollbars to the drawing. What I need to know is: How can I be notified when the user interacts with the scrollbar? I need to read it's new postion. Update my internal variable and call my canvas redraw procedure. I don't want XView to scroll my canvas display. Thanks in advance, Tony D. -- /------------------------------------------------------------------------\ | Tony Denault, Institute for Astronomy, | denault@hale.ifa.hawaii.edu | | 2680 Woodlawn Drive, Honolulu, HI 96789 | (808) 956-6097 | \------------------------------------------------------------------------/