Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tellab5!kenk From: kenk@tellabs.com (Ken Konecki) Newsgroups: comp.sys.mac.programmer Subject: Re: Dialog problems in DA Message-ID: <4932@tellab5.tellabs.com> Date: 3 Jan 91 13:19:19 GMT References: <4927@tellab5.tellabs.com> <47695@apple.Apple.COM> Sender: news@Tellabs.COM Organization: Tellabs, Inc. Lisle, IL Lines: 20 In article <47695@apple.Apple.COM> stevec@Apple.COM (Steve Christensen) writes: >I guess my first question would be "why aren't you just using a dialog >template (DLOG) as well as the item list (DITL)?". You can then just >call GetNewDialog() which will return a non-nil pointer if everything >is setup OK. I don't know exactly why your way is failing, but this >seems a whole lot simpler... I was wondering when someone was going to ask me this. I was having trouble with Font/DA mover renumbering the DITL resource. Consequently, when I would call GetNewDialog(), the DITL resource number within the DLOG template would be wrong. Is it possible to make the DITL resource owned by the DLOG resource and have Font/DA mover put it in the system file correctly? Thanks, -Ken K -- Ken Konecki "Eat well, stay fit, and die anyway" e-mail:kenk@tellabs.com -or- ...!uunet!tellab5!kenk