Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!van-bc!rsoft!mindlink!a1600 From: Scott_Velez@mindlink.bc.ca (Scott Velez) Newsgroups: comp.sys.amiga.programmer Subject: Re: GadTools SCROLLER_KIND Gadgets Message-ID: <6188@mindlink.bc.ca> Date: 9 Jun 91 11:56:45 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 33 > > Org. : DIALix Services, Perth Western Australia > Person: John Verhoeven > > ... > > I then use GT_GetIMsg & GT_ReplyIMsg in my main loop to receive IDCMP > messages > from these gadgets. This all works fine, I receive the apropriate messages > but for the Scroller gadget, How do I get the new values from the > Proportional > gadget for the VertPot/HorizPot values from the Gadget address given in the > IntuiMessage. The VertPot/HorizPot position is contained in the 'Code' field of the IntuiMsg structure. When you GT_GetIMsg(), it will be scaled somewhere between ZERO and the 'GTSC_Total' you set when creating the SCROLLER_KIND gadget. > > I need this info So I can scroll through a list of names in a panel next to > the > slider. I can't use a LISTVIEW gadget, beacuse I need to be able to select > multiple choices from the list, not just a single choice. You will have to do all your own multi-select stuff. I don't believe gadtools.library supports this. Scott -- --------------------------------------------------------------------- Michael Scott Velez "Give me a burger, fries and BIX: mvelez some desert." Scott_Velez@mindlink.bc.ca "Give me money."