Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sdd.hp.com!decwrl!ogicse!husc6!unix!mxmora From: mxmora@unix.SRI.COM (Matt Mora) Newsgroups: comp.sys.mac.programmer Subject: Re: Changing string length in Pascal Message-ID: <15669@unix.SRI.COM> Date: 28 Aug 90 16:14:26 GMT References: <1990Aug28.063939.18174@agate.berkeley.edu> Reply-To: mxmora@unix.UUCP (Matt Mora) Organization: SRI International, Menlo Park, CA Lines: 29 In article <1990Aug28.063939.18174@agate.berkeley.edu> bmyers@garnet.berkeley.edu (Brian Myers) writes: >Is there some other way to accomplish this transfer of text from >a handled memory object to a string variable? Try; GetIText(hText, TextString); from IM "Given a handle to a statText or editText item in a dialog box, as returned by GetDItem, GetIText returns the text of the item in the text parameter." It doesn't have to be a dialog item handle any handle to text will work. >Brian -- ___________________________________________________________ Matthew Mora | my Mac Matt_Mora@sri.com SRI International | my unix mxmora@unix.sri.com ___________________________________________________________