> > Does anyone know how to implement a timeout for an alert box....
> > It 4:13am and I'm about to give up and create a form... But it sure would be
> > nice to use the alert...
> > Any help would be greatly appreciated!!!
>
> only 4:13am? :) you still have a few more hours to go
>
> you could write your own custom handler, and then check the difference
> between the time you opened the dialog and your event loop - you will
> need to post nilEvents to perform the polling, no timers are available
> :))
keep in mind.. that FrmAlert() ends up calling FrmCustomAlert(), which
ends up calling FrmDoDialog() :) - dig into the sources for palmos
(which you can get via NDA) and extract the little bits of code that
you need to do your own little thing.
the perfect solution would be to have something like this:
FrmAlert(alertID, timeout);
after timeout period, the alert it cancelled. this, could be used in
a splash screen type situation too.. :) not too difficult to write
IMHO. :P time is always the essence :)
// az
[EMAIL PROTECTED]
http://www.ardiri.com/ <--- free games!
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/