home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!uwm.edu!rpi!bu.edu!dartvax!Roger.W.Brown
- From: Roger.W.Brown@dartmouth.edu (Roger W. Brown)
- Newsgroups: comp.sys.mac.hypercard
- Subject: Re: external window probs
- Message-ID: <1992Nov5.131610.13864@dartvax.dartmouth.edu>
- Date: 5 Nov 92 13:16:10 GMT
- References: <cey3rKG00iV0M5y18i@andrew.cmu.edu>
- Sender: news@dartvax.dartmouth.edu (The News Manager)
- Organization: Dartmouth College, Hanover, NH
- Lines: 14
- X-Posted-From: InterNews1.0b1@newshost.dartmouth.edu
-
- In article <cey3rKG00iV0M5y18i@andrew.cmu.edu>
- "George J. Baxter" <gb2a+@andrew.cmu.edu> writes:
-
- > test = &((XWEventInfoPtr)(paramPtr->params[1]))->event;
-
- When working in C, params are zero-based. What you want is
-
- test = &((XWEventInfoPtr)(paramPtr->params[0]))->event;
- ^
-
- --------------------------------------------------------------------
- Roger Brown roger.brown@dartmouth.edu
- Software Development
- Kiewit Computation Center, Dartmouth College, Hanover, NH
-