Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!ames!apple!han From: han@Apple.COM (Byron Han) Newsgroups: comp.sys.mac.programmer Subject: Re: Moving a Textedit field in a modal dialog Message-ID: <34351@apple.Apple.COM> Date: 26 Aug 89 17:29:40 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> Organization: Apple R&D - Networking & Communications Lines: 36 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. Actually, the dialog item list appending routine that appears in TN 95 does not cover all cases properly. For example, it does not handle resControls properly, does not support color icons, nor does it handle the case of adding text edit items to dialogs in a general fashion. The CommToolbox version of AppendDITL handles all of these cases correctly in addition to allowing the developer to append dialog item lists relative to the topLeft of the existing dialog, topRight of the existing dialog, or botLeft of the existing dialog. Or the topLeft of an item in the preexisting dialog item list. So, yes indeed you should migrate to use the CommToolbox/7.0 version. +-----------------------------------------------------------------------------+ | Disclaimer: Apple has no connection with my postings. | +-----------------------------------------------------------------------------+ Byron Han, CommToolbox Scapegoat Macintosh - Catch the Wave! Apple Computer, Inc. ----------------------------------------- 20525 Mariani Ave, MS27Y Internet: han@apple.COM Cupertino, CA 95014 UUCP:{sun,voder,nsc,decwrl}!apple!han ------------------------------------ GENIE:BYRONHAN CompuServe:72167,1664 ATTnet: 408-974-6450 Applelink:HAN1 HAN1@applelink.apple.COM -------------------------------------------------------------------------------