Peter,

I am trying to do something similar as well.  In my case, my app is using
NetLib to connect to the net to send & receive stuff.  The device my app is
running on is a Kyocera 6035 so my connectivity is spotty at best.  What I
am trying to do is to either prevent or dismiss the NetLib error dialog
(Service Connection Status) so that my app can automatically retry to
connect after a few minutes without the user having to intervene (i.e.
dismiss the error dialog).

I tried inserting a ctlSelectEvent to see if it would dismiss the dialog but
did not work.  Now I am thinking that I need to use SysGetTrapAddress and
SysSetTrapAddress to get the error events and prevent it from display the
blocking dialog.  Do you think that would work?  Also how would I know which
NetLib events I would need to divert?

Thanks.
Y.

"Peter Epstein" <[EMAIL PROTECTED]> wrote in message
news:82979@palm-dev-forum...
>
> FrmCustomAlert calls FrmDoDialog, which has it's own event loop. You can
set
> up an event handler that gets first crack at all events, but I think you'd
> need to call FrmDoDialog yourself rather than FrmCustomAlert.
>
> The other alternative that comes to mind is to patch traps (on 68K based
> devices) and use the new notifications provided in Palm OS 5 (on newer ARM
> based devices) to detect the events you need to.
> --
> Peter Epstein
>
>



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

Reply via email to