Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!apollo!uhura.cc.rochester.edu!ub!zaphod.mps.ohio-state.edu!samsung!munnari.oz.au!uhccux!quonset.cfht.hawaii.edu!john From: john@quonset.cfht.hawaii.edu (John Kerr) Newsgroups: comp.windows.x.motif Subject: XmScrolledWindow Message-ID: <4c3a1fd2.20b6d@apollo.HP.COM> Date: 16 Aug 90 00:49:00 GMT Sender: root@apollo.HP.COM Reply-To: john@quonset.cfht.hawaii.edu (John Kerr) Organization: Canada-France-Hawaii Telescope Corp. Lines: 22 Resent-From: nazgul@alphalpha.com (Kee Hinckley) e-Id: <9008160324.AA05138@alphalpha.com> To: comp-windows-x-motif@rutgers.edu Resent-To: motif-tmp@alphalpha.com Resent-Date: Wed, 15 Aug 90 23:24:29 EDT I have a scrolled window that is the parent of a draw area widget. I have chosen to make the scrollingPolicy AUTOMATIC and let my drawing have that smooth scrolling effect. The problem I am having currently, is that I would like to be notified of a scroll event, as mentioned in the reference manual, but I can't seem to retrieve the scrollbar widgets' ID. I tried to get the ID as follows: XtSetArg (myArgs[0], XmNhorizontalScrollBar, &wid); XtGetValues (XtParent(graphAreaWid), myArgs, 1); When executed, the widget ID (wid) comes back 0. Any ideas or suggestions? Thanks, jk ---------------------------------------------------------------------------- John Kerr Canada-France-Hawaii Telescope Corp. INTERNET: john@cfht.hawaii.edu BITNET: john@uhcfht ----------------------------------------------------------------------------