Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!ntvax!iex!neptune!roy From: roy@neptune.iex.com (Roy Cantu) Newsgroups: comp.windows.x Subject: Controlling Viewport scrollbars. Message-ID: Date: 9 Jul 90 20:48:08 GMT Sender: news@iex.uucp (C News) Distribution: comp Organization: IEX Corporation Lines: 24 The Viewport widget provides horizontal and vertical scrollbars to control its child. I was wondering how the application may gain control over these scrollbars. Looking at the Scrollbar widget, I see that the user may set the callback function, specify the thumb position, specify the length of the thump etc. Is it possible to gain such control over my Viewport scrollbars without the hassle of implementing individual Scrollbar widgets? In particular, I would like to be notified when the user has moved a scrollbar thumb and by how much. Furthermore, I would like to be able to move the thumb and scroll the Viewport text from *within* the application. Any suggestions are appreciated. roy