Path: utzoo!utgpu!mnetor!steve From: steve@mnetor.UUCP (Steve Rees) Newsgroups: comp.windows.x.motif Subject: Re: Scrolling a ScrolledWindow from program? Message-ID: <5654@mnetor.UUCP> Date: 8 Jan 91 20:51:05 GMT References: Reply-To: steve@mnetor.UUCP (Steve Rees) Organization: Motorola Technical Systems Division, Toronto Design Centre Lines: 14 The easiest way (IMHO) to do this is to: 1) Get the scrollbar widget id from the scrolled window. 2) Give the slider it's new value, via the XmNvalue (?) resource. 3) Give the scrollbar a whack in the side of the head with XtCallCallbacks(); this will make it recognize the new slider value, and do everything you'd expect. Good luck. -- Steve Rees {uunet|utzoo}!mnetor!steve or (better) steve%mnetor.uucp@uunet.uu.net Ma Bell: +1 416 475 8980 ext. 322 Why isn't ping pong called pik pok?