Path: utzoo!attcan!uunet!lll-winken!ames!apple!usc!bloom-beacon!bu-cs!dartvax!eleazar.dartmouth.edu!isle From: isle@eleazar.dartmouth.edu (Ken Hancock) Newsgroups: comp.sys.mac.programmer Subject: Re: Moving a Textedit field in a modal dialog Message-ID: <15237@dartvax.Dartmouth.EDU> Date: 25 Aug 89 02:04:58 GMT References: <15088@dartvax.Dartmouth.EDU> <21428@cup.portal.com> <58078@tut.cis.ohio-state.edu> <8356@hoptoad.uucp> <34286@apple.Apple.COM> <2511@husc6.harvard.edu> Sender: news@dartvax.Dartmouth.EDU Reply-To: isle@eleazar.dartmouth.edu (Ken Hancock) Organization: Computer Resource Center, Dartmouth College Lines: 34 In article <2511@husc6.harvard.edu> siegel@endor.UUCP (Rich Siegel) writes: >In article <34286@apple.Apple.COM> han@Apple.COM (Byron Han) writes: >> >>There is a routine that is included with the Communications Toolbox, >>AppendDITL (and ShortenDITL) which allow dynamic management of dialog >>item lists. > > No need to wait for the Comm Toolbox. AppendDITL appears in >Macintosh Technical Note #95. It's a godsend for extending the print >dialogs, standard file dialog, or any other "hook-able" standard dialogs. > > --Rich > I have to add a little flame here on Apple's DTS job on that technote, though. Usually, DTS has been very good about including both C code as well as Pascal. I recently used AppendDITL, but had to translate it from Pascal to C which was a nightmare dealing with all the dereferenced handles and pointers and pointers to dereferenced handles. If you looking in the comments to AppendDITL, it says something to the extent of 'Originally written in C and translated to Pascal' COME ON DTS! If it was originally written in C, why didn't you at least include the C code for it as well! But all the same, thank you for a VERY handy routine... Ken Ken Hancock '90 | E-mail: (BITNET/UUCP/INTERNET) Computer Resource Center Consultant | isle@eleazar.dartmouth.edu -------------------------------------+-------------------------------------- DISCLAIMER? I don't get paid enough to worry about disclaimers.