Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!samsung!olivea!uunet!sugar!peterc From: peterc@Sugar.NeoSoft.com (Peter Creath) Newsgroups: comp.sys.mac.programmer Subject: Re: Summary and new question: lists in modal dialogs Summary: GetDItem Message-ID: <1991Jun28.232039.4201@Sugar.NeoSoft.com> Date: 28 Jun 91 23:20:39 GMT References: <1991Jun28.183556.5127@tandem.com> Organization: Sugar Land Unix -- Houston, TX Lines: 11 You always have to use GetDItem when you're playing with controls, since Mac needs a ControlHandle -- not a resource ID. GetDItem(dialog,resourceID,&dType,&dItem,&dRect); From then on you use dItem as your ControlHandle. resourceID means nothing to any Toolbox routines except pointing to the item within the resource. But that can't be used directly... --