Ive got exactly the same problem, therefore I am taking the approach of
never using the nilEvent as its a pain cos you get it at any old time. This
means that the serial example in Palm Programming book is not very useful.

I would also like to know how to solve this problem nicely. At the moment I
am generating my own event and posting it on the queue every second, but
this will inevitably lead to my code being called late. Also the way I have
created my own event seems very messy, although that probably just because
Ive never done it before and cannot find any docs about user events.

Richard Anderson


> -----Original Message-----
> From: Matthew Starensier [SMTP:[EMAIL PROTECTED]]
> Sent: 24 July 2000 15:22
> To:   Palm Developer Forum
> Subject:      all pen taps (mouse clicks) produce nilEvents when debugging
> with POSE.
> 
> 
> 
> -----Original Message-----
> From: Matthew Starensier [mailto:[EMAIL PROTECTED]]
> Sent: Friday, July 21, 2000 3:42 PM
> To: Palm Developer Forum
> Subject: all pen taps (mouse clicks) produce nilEvents when debugging
> with POSE.
> 
> 
> I'm new to Palm development, and having trouble debugging my application.
> I'm using the code warrior IDE, and debugging with the POSE, using Palm OS
> 30 en dbg.rom.  My application runs correctly when launched normally on
> the
> POSE (clicking on the app's icon), and clicking on controls produces the
> desired behavior.
> 
> However, when I try to debug my app, all pen taps (mouse clicks) generate
> nilEvent.  System generated events (eg. winEnterEvent and frmOpenEvent)
> are
> generated correctly, but as I said, all UI generated events are nilEvent.
> 
> Any help would be appreciated.
> 
> Thanks,
> 
> Matthew Starensier
> Software Engineer
> RomeBlack, Inc.
> www.romeblack.com
> 
> 
> -- 
> 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/

Reply via email to