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 {
         sysEventNilEvent = 0,
         sysEventPenDownEvent,
         sysEventPenUpEvent,
         sysEventPenMoveEvent,
         sysEventKeyDownEvent,
         sysEventWinEnterEvent,
         sysEventWinExitEvent,
         sysEventAppStopEvent = 22,
         sysEventTsmConfirmEvent = 35,
         sysEventTsmFepButtonEvent,
         sysEventTsmFepModeEvent,

         // add future UI level events in this numeric space
         // to save room for new system level events
         sysEventNextUIEvent = 0x0800,

         // <chg 2-25-98 RM> Equates added for library events
         sysEventFirstINetLibEvent = 0x1000,
         sysEventFirstWebLibEvent = 0x1100,

         // <chg 10/9/98 SCL> Changed firstUserEvent from 32767 (0x7FFF) to 
0x6000
         // Enums are signed ints, so 32767 technically only allowed for 
ONE event.
         sysEventFirstUserEvent = 0x6000
} SysEventsEnum;

Doesn't have a value corresponding to 26 (I saw 35 for 
sysEventTsmConfirmEvent and read 25).  So, I am apparently of no help in 
this case.  Sorry for reacting too quickly.  I think I'll shut down my 
email client and stop spaming the list until I get some sleep.  Either your 
using a newer version of the SDK, which I don't have (are you playing with 
the 4.0 OS Stuff?) or you've got a malformed structure.

JC


Jim Cassidy                                     Celebrate national pi day,
[EMAIL PROTECTED]                             Mar 14, at 1:59.26 am.


-- 
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