Sure can
#define MyMessage ((events)(firstUserEvent + 1))
you could use the generic data structure to pass data (if you need to) and
have your event loop look for the event just like any other
switch (eventP->eType)
{
case MyMessage:
// Handle you custom event
break;
}
-----Original Message-----
From: Charles Rezsonya <[EMAIL PROTECTED]>
To: Palm Developer Forum <[EMAIL PROTECTED]>
Date: Wednesday, May 10, 2000 4:41 PM
Subject: Events
>is it possible to create your own event? ie, insteada having
frmOpenEvent:
>can i have 'myEvent' ? i am trying to have an event set to trigger an
>action in a form that i wish to have it handled. can a small snippet on
>atleast how to setup the structure correctly be provide? thats all i'm
>figuring out.
>
>thx
>
>Charles R
>
>
>--
>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/