"Jim Cassidy" <[EMAIL PROTECTED]> wrote in message
news:38461@palm-dev-forum...
>
> At 09:18 PM 2/5/2001 -0700, Jim Cassidy wrote:
> >At 09:10 PM 2/5/2001 -0700, Jim Cassidy wrote:
> >>At 07:57 PM 2/5/2001 -0800, you wrote:
> >>>What is the meaning of SysEventType.eType 26
> >>>after an EvtGetEvent() call?
> >>>
> >>>Thanks
> >>>horace
> ><SNIPAGE>
> >HOLD ON, MY MISTAKE.
> >
> >Found the wrong thing. I should have looked up the SysEventType struct
> >first, which is found in sysevent.h. In that case, eType is of type
> >SysEventsEnum, which means 26 == sysEventTsmFepButtonEvent, line 48,
> >SysEvent.h. Sorry about that. Note to self: Engage brain before
hitting
> >send.
>
> I am a big idiot. Looking further at SysEvent.h, I see that the
> enumeration (snipped form Palm OS 3.5 SDK, Copyright (c) 1994-1999 Palm
> Computing, Inc):
>
> typedef enum {
> } SysEventsEnum;
>
> Doesn't have a value corresponding to 26 (I saw 35 for
True, but this is the wrong enumeration. Look in Events.h instead at the
definition of eventsEnum. Value 26 is frmUpdateEvent, four after the line
"appStopEvent = 22".
>From what I can tell, the various events have been partitioned between the
two enumerations. Events of interest only to the system are in SysEvent.h.
Also, the SysEventType and EventType structures have compatible layouts, and
there is some overlap between the enums (penDown is 1 in both).
--
Ben Combee
Veriprise Wireless <http://www.veriprise.com>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/