Andre Arpin wrote:
Why is the pen passed to the form after the button has been handle.

Is the there a way to stop this from happening.

This is my code
void DebugN(int n)
{
 char msg[80];
 StrPrintF( msg, "%d", n );
 FrmCustomAlert(debugAlert,msg, "", "");
}

this works fine but the penUpEven is not removed and my form now gets this
event.
you usually get a penUpEvent when entering a form. since you're returning from the Alert window to your other window, you should get a winEnterEvent and a penUpEvent. Just ignoring the penUpEvent should solve your problem.

Matt


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

Reply via email to