Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!topaz!nike!ucbcad!ucbvax!decvax!decwrl!pyramid!hplabs!tektronix!reed!omssw2!ogcvax!sequent!mntgfx!dclemans From: dclemans@mntgfx.UUCP Newsgroups: net.micro.atari16 Subject: Re: rsc info Message-ID: <352@apollo.mntgfx.UUCP> Date: Mon, 7-Jul-86 13:53:43 EDT Article-I.D.: apollo.352 Posted: Mon Jul 7 13:53:43 1986 Date-Received: Thu, 10-Jul-86 01:21:23 EDT References: <8607020432.AA12058@ucbvax.Berkeley.EDU> Organization: Mentor Graphics, Beaverton OR Lines: 18 Summary: Getting address of RCS text fields... One way to get the address of text fields in a loaded resource is as follows: Assume that "BOX" is the name you gave to the dialog box that contains the editable field. Assume further that "FIELD" is the name of the editable field. Then with the following code fragment: #include ".h file created by resource construction program" OBJECT *obj; TEDINFO *ted; rsrc_gaddr(R_TREE,BOX,&obj); ted = (TEDINFO *)obj[FIELD].ob_spec; the expression "ted->te_ptext" gives you the address of the te_ptext field, etc. dgc