Hi Ted.

> If the user removes their palm before the beaming
> completes, a modal dialog comes up telling the user "Beam
> Interrupted.  Ensure handhelds are aligned and within range."

The "Beam interrupted" message is, once again, not actually an alert; it's
just the Progress Manager. This message appears in the progress dialog when
the IrDA stack isn't making headway. It stays there until it manages to make
some headway, or until it times out and reports an error. This message is a
warning, not an error. The Cancel button doesn't change into an OK button in
this state, so there is no need to dismiss anything. So I don't think you
need to do anything, but if you do...

> myPrgUpdateDialog is called just before that dialog comes up, but err
> is zero, as is prgP->error.  Obviously there is another flag in prgP
> telling the beam code it failed.  I can't find that flag, do you know
> what it is?  (or can you check the source for me?  :-)
> 
> stage = 5  I tried changing that to 9 but didn't help.

You were close. Look for stage = 11. 5 is "sending". 9 is "preparing".

If you wait a while longer, after the "beam interrupted" message, you'll see
an error message. The Cancel button will be replaced by an OK button. Your
existing hack should then dismiss the
progress-dialog-pretending-to-be-an-alert.
-
Danny

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

Reply via email to