Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!silver!kclenden From: kclenden@silver.bacs.indiana.edu (Kevin Clendenien) Newsgroups: comp.sys.atari.st Subject: rsrc_gaddr() question Summary: What arguements to pass? Message-ID: <31216@iuvax.cs.indiana.edu> Date: 10 Dec 89 19:41:24 GMT Sender: root@iuvax.cs.indiana.edu Reply-To: kclenden@silver.bacs.indiana.edu (Kevin Clendenien) Organization: Indiana University, Bloomington Lines: 33 I'm uploading this for a friend. I'll relay any replies to him. Thanks. Conf : Atari ST Programming Msg# : 272 Lines: 13 Read: 7 Sent : Dec 8, 1989 at 8:20 PM To : ALL From : LEN LOGTERMAN Subj : rsrc_gaddr() I need a little help with the use of the function rsrc_gaddr(). As I understand it, I should be able to use it to get the address of various objects in a tree. Say I have a tree, ATREE, which has an editable text field in it called MYTEXT. Here is what I normally to do to get the address of the text field: OBJECT *atree; rsrc_gaddr(0, ATREE, &atree); text_ptr = ((TEDINFO *)atree[MYTEXT].ob_spec->te_ptext; I should be able to get text_ptr with a call to rsrc_gaddr. What are the arguments that I should use? -------------------------------------------------------------------------- kclenden@silver.bacs.indiana.edu Kevin Clendenien BLoomington Atari ST users group BLAST, President BLAST BBS - (812) 332-0573 FNET node #141 "Of course any opinions or views stated above do not necessarily represent the official position of any person, or organization other that of Kevin Clendenien." --------------------------------------------------------------------------