Path: utzoo!attcan!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!ECNCDC.BITNET!MMPR004
From: MMPR004@ECNCDC.BITNET (Scott Hutinger)
Newsgroups: comp.sys.apple
Subject: Re: IIGS filter procedure for dialog box
Message-ID: <8909292233.aa12233@SMOKE.BRL.MIL>
Date: 30 Sep 89 02:31:00 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 20

Your modaldialog works just like you tell it to.  But, do you want to
handle any of the events at all?  One thing you should do is filter out
all possible modifier stuff such as:

char ch;

ch = (*theEvent).message & 0x7f   to clear out any possible modifiers

Anyway, I will cut off the rest of my message.  But for my sake,(just trying
to finally transfer from the Mac to do some GS stuff) so I know whats going
on.

#define btn0State 0x0080 /* Modifier Flags - set if button 0 up */

Now, would you not get a != if the above was true with a  & 0xFF?  I am not
sure, as I have not finished getting the Free Form sound to work yet.  Sort
of slow sometimes.

scott hutinger    mmpr004@ecncdc.bitnet
( I can't read page 7 yet, as they are in the mail )