I'm not sure, but I think the only time the event structure may have
unneeded values would be if you were posting the event after posting
several different events or event types in the same function, using
the same structure.  I guess it's just a good programming practice, 
though, to clear out the other values in the structure.  (I just
didn't add that MemSet in the first time I posted because I call it 
as an exit function, with it's own defined event structure that 
nothing else can fiddle with.)
-Rus
>-----Original Message-----
>From: Aaron Ardiri [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, June 15, 2000 3:34 PM
>To: Palm Developer Forum
>Subject: RE: Application doesn't shut down very gracefull.
>
>
>> Ah, but then you spoil all the fun of seeing what goofy
>> values could be in the other fields causing all kinds of
>> havoc at shutdown.  ;-)
>
>  actually, i believe most of the times the other fields dont
>  matter, unless you are dealing with form "objects" you will
>  find the code for shutting down an app only wants the 
>  type definition :))
>    
>  the fields are not references in normal usage :)) look at 
>  your event loop for more info :))
>

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