Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.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: <9030@uhccux.uhcc.Hawaii.Edu> Date: 16 Aug 90 00:49:25 GMT Sender: news@uhccux.uhcc.Hawaii.Edu Reply-To: john@quonset.cfht.hawaii.edu (John Kerr) Organization: Canada-France-Hawaii Telescope Corp. Lines: 24 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 ----------------------------------------------------------------------------