Try adding a call to 
EvtWakeup();
After you add the event.

You should get a nilEvent, then your event.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, May 06, 2002 1:54 AM
To: Palm Developer Forum
Subject: Add new event --- how to catch this ?


hi all, 

has anybody add a new event to the event queue using the following methods ?


MemSet (&newEvent, sizeof(EventType), 0);
newEvent.eType = firstUserEvent;
.
.
.
EvtAddEventToQueue (&newEvent); 

how do u catch this in Palm Os ver 4 ? 

although the event is added to the queue, it is not poped up unless I change

timeout of EvtGetEvent to some value other than evtWaitForever or unless 
another system event (such as pendown) is generated. 

this happens only in version 4 for me. 

can anybody explain this to me. 

is it ok to change the timeout to evtNoWait in EvtGetEvent to slove this 
problem. 

thanks 

DR. 

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

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

Reply via email to