home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!charon.amdahl.com!pacbell.com!sgiblab!munnari.oz.au!bunyip.cc.uq.oz.au!uqcspe!cs.uq.oz.au!warwick
- From: warwick@cs.uq.oz.au (Warwick Allison)
- Newsgroups: comp.sys.atari.st
- Subject: Re: Help with RCS created .RSC file / header
- Message-ID: <11105@uqcspe.cs.uq.oz.au>
- Date: 18 Nov 92 23:43:20 GMT
- References: <davem.722083065@extro.ucc.su.OZ.AU>
- Sender: news@cs.uq.oz.au
- Reply-To: warwick@cs.uq.oz.au
- Lines: 23
-
- davem@extro.ucc.su.OZ.AU (David Monro) writes:
-
- >I'm trying to use the Resource Construction Set V1.4.
- >Say I have two trees defined, say a menu and a dialog box, and the dialog box
- >has on OK button. How do I use rsrc_gaddr to get a pointer to the button?
-
- Once you have the pointer to the tree:
-
- OBJECT* Tree;
- rsrc_gaddr... Tree
-
- Just use the object indices as indexes into that tree:
-
- x_position_of_ok_button = Tree[OKBUT].ob_x;
-
-
- --
- Warwick
- --
- _-_|\ warwick@cs.uq.oz.au /Disclaimer:
- / * <-- Computer Science Department, /
- \_.-._/ University of Queensland, / C references are NULL && void*
- v Brisbane, Australia. /
-