Using CW and 3.5 support it's included in Event.h/SysEvent.h.

I was using generic.data1 but when I installed the 3.5 stuff I changed
it.

It works just find now.

However, how would I pass a string in the event?



-----Original Message-----
From: Thomas Maeder [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 3:11 AM
To: Palm Developer Forum
Subject: Re: Help with sending & trapping user defined events with
firstUserEvent


Richard Burmeister wrote:
> 
> >               if (event->data.generic.datum[2] == 5)
> 
> Looking at the OS Ref (3.5), I don't see any "datum" array in the
> event->data.generic struct.  Instead, there is
> event->data.generic.data1, event->data.generic.data2, ...,
> event->data.generic.data8, each one being a Word.

So the question is: Why would the compiler accept this, and how does it
interpret it?

-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to